The PHP Unit Testing framework.

4.8.41 2020-05-28 02:56 UTC


Latest Stable Version Minimum PHP Version Build Status

PHPUnit48 is a variant of PHPUnit. The purpose of this project is to make PHPUnit 4.8 compatible with the new PHP and to make it compatible with PHPUnit 6.

PHPUnit is an advanced product, but it is out of old PHP versions. But unit testing is an important technique for migrating old projects to new versions. This project bridges PHP 5.x to PHP 7 and PHPUnit 6.

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


You may use Composer to download and install PHPUnit as well as its dependencies.

$ cd path/to/your/php-project
$ composer require --dev php5friends/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: