66 Laravel packages tagged “phpunit”

Most downloaded: spatie/phpunit-snapshot-assertions, with 22,637,970 downloads and 699 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.

spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit
699 22,637,970

laravel/pao

Agent-optimized output for PHP testing tools
725 21,393,471

petrkotek/phpunit-naughtytestdetector

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

petrknap/shorts

Set of short PHP helpers
127,515

zizaco/testcases-laravel

Some classes to help write tests for laravel 4 applications
45 50,511

code-distortion/adapt

A Laravel package that builds databases for your tests, improving their speed.
30 40,943

albertcht/lumen-testing

Testing Suite For Lumen like Laravel does.
43 36,092

alexrili/lumen-test-booster

just a small boost of lumen tests
3 35,595

lastdragon-ru/lara-asp-testing

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

erikgall/eloquent-phpunit

Test Eloquent models, database schemas & tables, relationships/foreign keys using PHPUnit.
20 16,955

socialengine/setup-test-db

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

studio-design/gesso

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 8,197

markwalet/laravel-testable-requests

A Laravel package to make request testing easier
8,151

andrewgatenby/snapmigrations

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,344

anthonyedmonds/laravel-testing-traits

Make testing easier with this collection of testing traits!
6,484

sikessem/devtools

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

testo/bridge-rector

Rector rules to convert test suites between PEST, PHPUnit and Testo.
5,289

laravel-liberu/phpunit-pretty-print

PHPUnit Pretty Print for Laravel
3,050

inovanti-bank/messaging

Componente para integração com serviços de mensageria com APIs externas como Twilio, SendGrid, AWS SES, etc.
1 2,940

yuraplohov/test-data-provider

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

unicorn/lumen-testing

Testing Suite For Lumen like Laravel does.
2,201

faisalmirza/diff-coverage

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

deegitalbe/laravel-mail-assertions

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

movemoveapp/laravel-postmangen

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

raiolanetworks/plugin-seo-test

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,773

mozex/laravel-test-lanes

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

benholmen/defrag

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

view-components/testing-helpers

Helpers for view-components testing
1 1,393

kwaku/laravel-test-mcp

MCP server for running Laravel Pest and PHPUnit tests from AI assistants like Claude, Cursor, and ChatGPT
1 1,233

martinsbalodis/testcases-laravel

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

andizzle/zapper

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

rawphp/warp

Warm-worker test engine for Laravel + Pest — boots the app once per process and hands each test a sandboxed clone
1 732

sorge-it/phpunit-pest-html-assertions

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.
616

monsterlane/lumen-console-test

Laravel Console Tests adaptation for Lumen framework.
601

alvarodelera/pest-wp-plugin

Pest plugin for WordPress testing with SQLite support and zero-config setup
4 598

patricksamson/phpunit-flaky-fix

A PHPUnit extension to help reproduce flaky tests.
1 561

pragmarx/tddd

A Self-Hosted TDD Dashboard & Tests Watcher
712 507

codedungeon/laravel-craftsman

Laravel Craftsman
232 327

ugarit/pao

Agent-optimized output for PHP testing tools
285

smousss/laravel-pestifize

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

kosmosafive/bitrix-tests

Набор инструментов для тестирования Bitrix Framework
4 189

laramint/queryguard

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 176

smartymoon/inertia-laravel-testing

Testing helpers for https://github.com/inertiajs/inertia-laravel
131

rasuvaeff/understudy-phpunit

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

mahbubhelal/refresh-databases

A Laravel package that extends RefreshDatabase trait to support multiple database connections with separate migration paths. Also provides fast database refreshing with checksum-based caching.
92

recca0120/package-phpunit

laravel package development phpunit
4 47

oxhq/drove

Independent prepared-state test runner with Pest and PHPUnit frontends.
33

semitexa/laravel-ai-verify

Stop AI coding agents from faking "done" in Laravel. ai:verify runs only the tests, Larastan, Pint and Laravel checks a diff needs, fails on deleted or skipped tests, and stamps verified commits for CI. ai:graph gives agents a code graph of routes, controllers, models, views and tests, with impact analysis.
1 20

bberkaysari/laravel-test-generator

Universal Laravel test generator without AI - Generate comprehensive tests automatically
1 20

abenevaut/phpunit-slicer

Tool to slice PHPUnit tests files to tests suites.
5 19