PHPUnit
StarPHPUnit is a unit testing framework for the PHP programming language. It is an instance of the xUnit architecture for unit testing frameworks.
Here are 2,287 public repositories matching this topic...
Language: All Filter by language All 2,287 PHP 1,893 Blade 54 HTML 52 JavaScript 50 Dockerfile 42 Shell 42 TypeScript 28 Python 26 CSS 13 Go 5 Sort: Most stars Sort options Most stars Fewest stars Most forks Fewest forks Recently updated Least recently updatedDesignPatternsPHP / DesignPatternsPHP
Star 22.2kSample code for several design patterns in PHP 8.x
php design-pattern oop phpunit design-patterns code-examples designpatternsphp modern-php php8- Updated Feb 3, 2025
- PHP
sebastianbergmann / phpunit
Sponsor Star 20.1kThe PHP Unit Testing framework.
php phpunit testing-tools- Updated Dec 3, 2026
- PHP
mockery / mockery
Star 10.7kMockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
mock php phpunit stub mocking mockery test-doubles- Updated Oct 18, 2026
- PHP
Codeception / Codeception
Star 4.9kFull-stack testing PHP framework
testing php unit-testing acceptance-testing bdd end-to-end integration-testing phpunit codeception hacktoberfest- Updated Dec 1, 2026
- PHP
CodelyTV / php-ddd-example
Sponsor Star 3.2k🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 7
testing docker php laravel symfony cqrs microservice doctrine ddd phpunit domain-driven-design behat monorepo codelytv microservices-architecture hexagonal-architecture php8 bounded-context symfony5 codely- Updated Aug 6, 2024
- PHP
PHPantom-dev / phpantom_lsp
Star 1.4kFast PHP language server with deep type intelligence. Generics, frameworks, PHPStan annotations. Ready in an instant.
php wordpress laravel twig symfony drupal phpunit yii vscode-extension neovim-plugin phpstorm-plugin pest lsp lsp-server yii3 tempestphp- Updated Dec 3, 2026
- Rust
jakzal / phpqa
Star 1.3kDocker image that provides static analysis tools for PHP
docker php qa composer docker-image static-analysis phpunit phpdoc php-cs-fixer php-codesniffer phpmd code-quality phpmetrics phpstan phploc qatools pdepend phpcpd phpqatools phpqa- Updated Nov 30, 2026
- Dockerfile
php-vcr / php-vcr
Star 1.2kRecord your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
php webservice phpunit test-automation api-test soap-api guzzle-services replay webservices api-testing deterministic vcr php-vcr accurate-tests test-webservices guzzle-test soap-test soap-api-test rest-test restful-test- Updated Nov 1, 2026
- PHP
sarven / unit-testing-tips
Star 1.2kUnit testing tips by examples in PHP
testing php unit-testing tdd best-practices phpunit tests unit-tests phpunit-tests- Updated Jun 26, 2026
- HTML
dmaicher / doctrine-test-bundle
Star 1.2kSymfony bundle to isolate your app's doctrine database tests and improve the test performance
php symfony symfony-bundle phpunit doctrine2 isolated-tests phpunit-listener- Updated Nov 13, 2026
- PHP
range-of-motion / budget
Sponsor Star 1.1kGet a grip on your finances.
mysql php money personal-finance finance vuejs laravel web vue web-app phpunit accounting financial web-application spending bookkeeping spending-tracker- Updated Dec 10, 2024
- PHP
spatie / phpunit-watcher
Sponsor Star 877A tool to automatically rerun PHPUnit tests when source code changes
testing phpunit watcher- Updated Nov 6, 2026
- PHP
johnkary / phpunit-speedtrap
Star 778Reports on slow-running tests in your PHPUnit test suite
phpunit phpunit-listener- Updated May 22, 2023
- PHP
10up / wp_mock
Star 712WordPress API Mocking Framework
wordpress unit-testing phpunit monkey-patching mocking-library mockery patchwork testing-library- Updated Jul 6, 2026
- PHP
antonioribeiro / tddd
Star 710A Laravel Continuous Integration Package
testing php laravel dashboard phpunit phpspec codeception developer-tools tester watcher laravel-dusk- Updated Sep 6, 2023
- Vue
spatie / phpunit-snapshot-assertions
Sponsor Star 697A way to test without writing actual test cases
testing php snapshot-testing phpunit- Updated Nov 5, 2026
- PHP
xPaw / PHP-Source-Query
Sponsor Star 610🐘 PHP library to query servers that implement Steam query protocol (also known as Source Engine Query protocol)
php steam rcon phpunit source-engine source-games- Updated Sep 28, 2026
- PHP
kenjis / ci-phpunit-test
Star 584An easier way to use PHPUnit with CodeIgniter 3.x.
codeigniter phpunit testing-tools monkey-patching codeigniter3 hacktoberfest- Updated Feb 16, 2024
- PHP
dg / bypass-finals
Sponsor Star 582Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
testing phpunit mocking file-mutator- Updated Oct 25, 2026
- PHP
phpstan / phpstan-phpunit
Sponsor Star 547PHPUnit extensions and rules for PHPStan
testing php php7 static-code-analysis static-analysis phpunit phpstan- Updated Dec 3, 2026
- PHP
Created by Sebastian Bergmann
Released March 15, 2004
Latest release 14 days ago
- Followers
- 90 followers
- Repository
- sebastianbergmann/phpunit
- Website
- github.com/topics/phpunit
- Wikipedia
- Wikipedia