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 PHP Compatibility Initial Release Support
PHPUnit 7 PHP 7.1, PHP 7.2, PHP 7.3 February 2, 2018 Support ends on February 7, 2020
PHPUnit 6 PHP 7.0, PHP 7.1, PHP 7.2 February 3, 2017 Support ends on February 1, 2019
PHPUnit 5 PHP 5.6, PHP 7.0, PHP 7.1 October 2, 2015 Support ends on February 2, 2018
PHPUnit 4 PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6 March 7, 2014 Support ended on February 3, 2017

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.