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 d7463c86a4 Merge branch '9.1' 1 day ago
.docker/lint-xml-configuration Enhancement: Lint XML configuration using GitHub actions 5 months ago
.github Use tag 1 day ago
.psalm Fix issues identified by Psalm 2 weeks ago
build Merge branch '9.0' 1 week ago
src Merge branch '9.1' 1 day ago
tests Merge branch '8.5' into 9.1 1 day ago
tools Update tools 4 days ago
.editorconfig Enhancement: Configure indentation for YML files in .editorconfig 7 months ago
.gitattributes Merge branch '7.5' into 8.4 5 months ago
.gitignore Reorganize ignored files and directories 4 months ago
.php_cs.dist Enhancement: Clean up configuration for friendsofphp/php-cs-fixer 2 months ago
.phpstorm.meta.php #3120 added `.phpstorm.meta.php` entry for `TestCase#createStub()` 7 months ago Prepare release 4 days ago Prepare release 1 day ago Start development of PHPUnit 9.2 1 day ago
LICENSE Bump copyright year 2 months ago Start development of PHPUnit 9.2 1 day ago
build.xml Leftover from e06850c12b93d55271966b423519972a5ec6df45 2 weeks ago
composer.json Start development of PHPUnit 9.2 1 day ago
phive.xml Update tools 1 week ago
phpunit Fix 1 week ago
phpunit.xml Simplify 11 months ago
phpunit.xsd Closes #4100 1 month 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.2 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: