New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

78 Laravel packages tagged “phpunit”

Most downloaded: laravel/pao, with 36,386,213 downloads and 736 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.

laravel/pao

Official Laravel package Recommended
Agent-optimized output for PHP testing tools
736 36,386,213

spatie/phpunit-snapshot-assertions

Recommended Trusted maintainer
Snapshot testing with PHPUnit
697 24,222,959

petrkotek/phpunit-naughtytestdetector

Not advised
"Naughty test detector" for PHPUnit. Identifies tests, which don't clean after themselves.
3 792,934

mrpunyapal/rector-pest

Not advised
Rector upgrade rules for Pest - refactoring and best practices for Pest testing framework
74 195,677

petrknap/shorts

Solid choice
Set of short PHP helpers
132,690

zizaco/testcases-laravel

Not advised
Some classes to help write tests for laravel 4 applications
45 50,544

studio-design/gesso

Solid choice
Gesso — OpenAPI 3.0/3.1/3.2 contract testing for PHP. Framework-independent core with Laravel, Symfony, Pest, and PSR-7 adapters. PHPUnit coverage, request/response validation, fuzzing, and drift detection.
10 46,690

code-distortion/adapt

Use with care
A Laravel package that builds databases for your tests, improving their speed.
30 41,797

albertcht/lumen-testing

Not advised
Testing Suite For Lumen like Laravel does.
43 36,136

alexrili/lumen-test-booster

Not advised
just a small boost of lumen tests
3 35,595

lastdragon-ru/lara-asp-testing

Promising
Provides various useful asserts for PHPUnit and better solution for HTTP tests - testing HTTP response has never been so easy!
21,828

erikgall/eloquent-phpunit

Not advised
Test Eloquent models, database schemas & tables, relationships/foreign keys using PHPUnit.
20 17,044

socialengine/setup-test-db

Not advised
Get efficient with seeding your database for tests in Laravel
9 14,055

rawphp/warp

Solid choice
Warm-worker test engine for Laravel + Pest — boots the app once per process and hands each test a sandboxed clone
1 11,554

markwalet/laravel-testable-requests

Promising
A Laravel package to make request testing easier
8,493

andrewgatenby/snapmigrations

Not advised
Generates an SQL dump of your migrated (and seeded) database to save time re-running Migrations when running Integration and Acceptance Tests in a Lumen environment.
1 7,351

anthonyedmonds/laravel-testing-traits

Promising
Make testing easier with this collection of testing traits!
6,950

testo/bridge-rector

Promising
Rector rules to convert test suites between PEST, PHPUnit and Testo.
6,064

sikessem/devtools

Promising
🧪 Tools needed for PHP and Laravel project development and automation.
1 6,033

sorge-it/phpunit-pest-html-assertions

Use with care
HTML assertions for PHPUnit and Pest: check rendered HTML with CSS selectors, never as a string. With PHPStan rules, a Rector rule and a skill for AI coding agents.
5,374

fruitcake/phpunit-tia-laravel

Use with care Trusted maintainer
Laravel integration for phpunit-tia: links tests to the views they render and the migrations of the tables they query
4,041

mozex/laravel-test-lanes

Solid choice
Give every concurrent Laravel test run its own databases by claiming a machine-unique lane for each process
1 4,006

alvarodelera/pest-wp-plugin

Solid choice
Pest plugin for WordPress testing with SQLite support and zero-config setup
5 3,583

inovanti-bank/messaging

Use with care
Componente para integração com serviços de mensageria com APIs externas como Twilio, SendGrid, AWS SES, etc.
1 3,495

laravel-liberu/phpunit-pretty-print

Not advised
PHPUnit Pretty Print for Laravel
3,086

faisalmirza/diff-coverage

Promising
Calculate code coverage for git diff (changed lines only)
2,726

pekral/test-redundancy

Use with care
Finds PHPUnit and Pest tests whose covered lines other tests already cover, and shows what each candidate asserts beyond them.
2,522

yuraplohov/test-data-provider

Not advised
Providing test data for autotests from php files with returned arrays, and from any text files
2,404

unicorn/lumen-testing

Not advised
Testing Suite For Lumen like Laravel does.
2,207

deegitalbe/laravel-mail-assertions

Not advised
PHPUnit mail assertions for testing email in Laravel.
1,996

movemoveapp/laravel-postmangen

Not advised
Generation of Postman collection JSON file based on performed HTTP requests during execution of PHPUnit runner
1,872

raiolanetworks/plugin-seo-test

Promising
This Composer package provides a seamless integration for testing SEO aspects of your Laravel applications. Compatible with both Pest and PHPUnit, it offers a collection of tools and assertions specifically designed to evaluate on-page SEO elements like meta tags, title tags, canonical URLs, and structured data. By automating SEO testing, this plugin ensures that your application consistently adheres to best SEO practices, helping you catch potential SEO issues early in the development cycle.
2 1,847

benholmen/defrag

Not advised
MS-DOS defrag output for your PHPUnit test suite
93 1,476

view-components/testing-helpers

Not advised
Helpers for view-components testing
1 1,411

kwaku/laravel-test-mcp

Use with care
MCP server for running Laravel Pest and PHPUnit tests from AI assistants like Claude, Cursor, and ChatGPT
2 1,237

stateforge/scenario-laravel

Use with care
Laravel adapter for Stateforge Scenario Core – declarative, attribute-driven scenario execution for reproducible application state.
1,186

inovanti-bank/inovanti-toolkit

Use with care
O Inovanti Toolkit é um componente desenvolvido para Laravel ^11, projetado para facilitar a resolução de demandas comuns em aplicações web. Seu principal objetivo é eliminar a necessidade de reescrever lógicas repetitivas, oferecendo um conjunto de funcionalidades otimizadas e reutilizáveis.
1,120

martinsbalodis/testcases-laravel

Not advised
Some classes to help write tests for laravel 4 applications. Forked from zizaco/testcases-laravel
1,098

laramint/queryguard

Promising
Zero-config CI gate for Laravel: auto-instruments your test suite, baselines query counts, and fails PRs that introduce N+1s or query regressions.
5 1,030

andizzle/zapper

Use with care
A test package that allows you do db envolved testing properly.
2 733

ugarit/pao

Use with care
Agent-optimized output for PHP testing tools
662

monsterlane/lumen-console-test

Not advised
Laravel Console Tests adaptation for Lumen framework.
601

patricksamson/phpunit-flaky-fix

Promising
A PHPUnit extension to help reproduce flaky tests.
1 561

pragmarx/tddd

Not advised Trusted maintainer
A Self-Hosted TDD Dashboard & Tests Watcher
710 509

codedungeon/laravel-craftsman

Not advised
Laravel Craftsman
232 327

ddr/sonda

Use with care
Line and branch coverage for PHP by instrumenting the source: much faster and lighter than Xdebug path coverage
310

smousss/laravel-pestifize

Not advised
Convert PHPUnit tests to Pest 2 using GPT-4.
14 240

kosmosafive/bitrix-tests

Promising
Набор инструментов для тестирования Bitrix Framework
6 197

rasuvaeff/understudy-phpunit

Promising
PHPUnit adapter for the understudy test double library: automatic verification and cleanup after every test
168

sorge-it/http-server

Use with care
In-process HTTP/1.1 server for Pest and PHPUnit browser tests, built for coding agents. The page sees the test's RefreshDatabase transaction, actingAs() user and fakes. No event loop, no package dependencies; tests compare each response to a valid request with FrankenPHP, byte for byte in the form Chrome receives. Loopback only; not for production, WebDriver or HTTP mocks.
164