PHPUnit 6

The PHPUnit development team is pleased to announce the immediate availability of PHPUnit 6. This release adds new features, changes and removes existing features, and fixes bugs.

A detailed list of changes is available here.

PHPUnit now requires PHP 7.0 (or newer)

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.

Backward Compatibility Issues

Getting PHPUnit 6

We distribute a PHP Archive (PHAR) that contains everything you need in order to use PHPUnit. Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies.

Here is a tutorial that gets you started.

Supported Versions

Detailed information on supported versions of PHPUnit is available here. Below is a summary as of February 3, 2017: