Release Announcement for PHPUnit 6.0.0

Sebastian Bergmann edited this page Dec 3, 2016 · 3 revisions

The PHPUnit development team announces the immediate availability of PHPUnit 6.0.0. This release adds new features, changes and removes existing features, and fixes bugs. A detailed list of changes is available here.

Dropping support for PHP 5.6

According to our release process, PHPUnit must be compatible with all versions of PHP that are actively supported by the PHP project.

Active support for PHP 5.6 ended on December 31, 2016. The only actively supported versions of PHP as of February, 3 2017 are PHP 7.0 and PHP 7.1.

Obtaining PHPUnit 6.0

We distribute a PHP Archive (PHAR) that contains everything you need in order to use PHPUnit. Simply download it from here, make it executable, and put it into your $PATH, for instance.

Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies.


PHPUnit 6.0 requires PHP 7.0; using the latest version of PHP is highly recommended. The documentation has a detailed list of the PHP extensions that are required to use PHPUnit.

Support for PHPUnit 5.7

Following our release process, PHPUnit 5.7 will receive bug fixes until February 2, 2018.

End of Life for PHPUnit 4.8

Following our release process, PHPUnit 4.8 has reached End of Life as of February, 3 2017 and will no longer receive bug fixes.

If you use Chef, Puppet, or a similar tool to download and install a PHPUnit 4.8 PHP archive (PHAR) then please change the URL from to The URL will not be offered in the future anymore. It will continue to work for now and it will always redirect to the latest version of PHPUnit 4.8.