Welcome to PHPUnit!

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

Current Stable Release

PHPUnit 5.4 is the current stable release series.
It became stable on June 3, 2016.
Its support ends on August 5, 2016 when PHPUnit 5.5 is released.

You can find out what's new in PHPUnit 5.4 in the release announcement.

PHPUnit 5.4 is supported on PHP 5.6 and PHP 7.

Old Stable Release

PHPUnit 4.8 is the current old stable release series.
It became stable on August 7, 2015.
Its support ends on February 3, 2017 when PHPUnit 6 is released.

You can find out what's new in PHPUnit 4.8 in the release announcement.

PHPUnit 4.8 is supported on PHP 5.3, PHP 5.4, PHP 5.5, and PHP 5.6.

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

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

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