Welcome to PHPUnit!

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

Supported Versions

Major Version Initial Release PHP Compatibility Support
PHPUnit 6 February 3, 2017 PHP 7.0, PHP 7.1, PHP 7.2 Support ends on February 8, 2019
PHPUnit 5 October 2, 2015 PHP 5.6, PHP 7.0, PHP 7.1 Support ends on February 2, 2018
PHPUnit 4 March 7, 2014 PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6 Support ended on February 3, 2017

PHPUnit 7 will be released on February 2, 2018. It will be supported on PHP 7.1 and PHP 7.2.

We have a roadmap with details on what is planned for future releases of PHPUnit. Our release process is documented as well.

More Information

The documentation has details on how to verify PHAR releases of PHPUnit using PGP signatures and SHA256 hashes as well as how to install PHPUnit using Composer.

Old PHAR releases are archived at phar.phpunit.de.

Need help? Here are your options for support.