The PHP Unit Testing framework.
Phpunit GitHub Repositories (2026) · Open Source Tools
Discover the best Phpunit open source repositories on GitHub. Explore trending tools, live star counts, source code, and developer projects updated daily.
Mockery 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).
Full-stack testing PHP framework
A tool to automatically rerun PHPUnit tests when source code changes
A way to test without writing actual test cases
Mock built-in PHP functions (e.g. time() or rand()) in PHPUnit.
⏱️ Provides a composer package with an extension for detecting slow tests in phpunit/phpunit.
Run PHPUnit tests in parallel
Rector upgrade rules for PHPUnit
Adds DOM assertions to laravels test responses
A set of tools for testing your REST calls based on the swagger documentation using PHPUnit
Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests
Mocking utility for PHP functions and WordPress plugin API
PHPUnit extensions and rules for PHPStan