63 Laravel packages tagged “phpunit”

Most downloaded: spatie/phpunit-snapshot-assertions, with 22,178,713 downloads and 698 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
698 22,178,713

laravel/pao

Agent-optimized output for PHP testing tools
723 17,537,191

petrkotek/phpunit-naughtytestdetector

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

petrknap/shorts

Set of short PHP helpers
125,958

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

albertcht/lumen-testing

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

alexrili/lumen-test-booster

just a small boost of lumen tests
3 35,595

erikgall/eloquent-phpunit

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

socialengine/setup-test-db

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

markwalet/laravel-testable-requests

A Laravel package to make request testing easier
8,037

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

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 6,515

anthonyedmonds/laravel-testing-traits

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

sikessem/devtools

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

laravel-liberu/phpunit-pretty-print

PHPUnit Pretty Print for Laravel
3,031

inovanti-bank/messaging

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

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

faisalmirza/diff-coverage

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

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

testo/bridge-rector

Rector rules to convert test suites between PEST, PHPUnit and Testo.
1,497

view-components/testing-helpers

Helpers for view-components testing
1 1,385

kwaku/laravel-test-mcp

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

martinsbalodis/testcases-laravel

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

mozex/laravel-test-lanes

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

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 729

monsterlane/lumen-console-test

Laravel Console Tests adaptation for Lumen framework.
601

patricksamson/phpunit-flaky-fix

A PHPUnit extension to help reproduce flaky tests.
1 561

pragmarx/tddd

A Self-Hosted TDD Dashboard & Tests Watcher
712 506

alvarodelera/pest-wp-plugin

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

codedungeon/laravel-craftsman

Laravel Craftsman
232 327

smousss/laravel-pestifize

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

ugarit/pao

Agent-optimized output for PHP testing tools
210

kosmosafive/bitrix-tests

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

smartymoon/inertia-laravel-testing

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

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 128

rasuvaeff/understudy-phpunit

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

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

recca0120/package-phpunit

laravel package development phpunit
4 47

sorge-it/phpunit-pest-html-assertions

HTML assertions for PHPUnit and Pest: check rendered HTML with CSS selectors, never as a string. With a PHPStan rule and a Rector rule.
38

oxhq/drove

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

abenevaut/phpunit-slicer

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

bberkaysari/laravel-test-generator

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

helgesverre/pest-to-phpunit

Rector rules to convert Pest tests to PHPUnit
6 18

mottaviani-dev/laravel-reductor

ML-powered test suite optimization for Laravel - Reduce CI/CD time by identifying redundant tests
3 11

martinsbalodis/validator-laravel

Base validation service class
1 11

gessyken/laravel-test-accelerator

A powerful Laravel package to accelerate the development and testing process of your applications
1 7