try to clone phpunit as mirror from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sebastian Bergmann 46054e5e7e Merge branch '9.0' 2 days ago
.docker/lint-xml-configuration Enhancement: Lint XML configuration using GitHub actions 3 months ago
.github 2824b6675542e277ab2f8c95d0b26fcff90ffb4a does not break backward compatibility 1 week ago
.psalm Update baseline 1 month ago
build Add missing imports 3 months ago
src Closes #4100 1 week ago
tests Revert "Make test introduced in cf2d0076dc9b3634efebb59580d9f1fe13548b55 compatible with PHPUnit < 9.1" 4 days ago
tools Update tools 2 days ago
.editorconfig Enhancement: Configure indentation for YML files in .editorconfig 5 months ago
.gitattributes Merge branch '7.5' into 8.4 4 months ago
.gitignore Reorganize ignored files and directories 3 months ago
.php_cs.dist Enhancement: Clean up configuration for friendsofphp/php-cs-fixer 1 month ago
.phpstorm.meta.php #3120 added `.phpstorm.meta.php` entry for `TestCase#createStub()` 5 months ago Update ChangeLog 1 month ago Prepare release 1 week ago Closes #4100 1 week ago
LICENSE Bump copyright year 1 month ago Merge branch '9.0' 1 week ago
build.xml Simplify usage of php-invoker 2 months ago
composer.json Merge branch '9.0' 5 days ago
phive.xml Update tools 2 days ago
phpunit Start development of PHPUnit 9.0 3 months ago
phpunit.xml Simplify 10 months ago
phpunit.xsd Closes #4100 1 week ago


PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

Latest Stable Version Minimum PHP Version CI Status Type Coverage


We distribute a PHP Archive (PHAR) that has all required (as well as some optional) dependencies of PHPUnit 9.1 bundled in a single file:

$ wget

$ php phpunit-nightly.phar --version

Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies. Please refer to the “Getting Started” guide for details on how to install PHPUnit.


Please refer to for information on how to contribute to PHPUnit and its related projects.

List of Contributors

Thanks to everyone who has contributed to PHPUnit! You can find a detailed list of contributors on every PHPUnit related package on GitHub. This list shows only the major components:

A very special thanks to everyone who has contributed to the documentation and helps maintain the translations: