Welcome to PHPUnit!

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

Download PHPUnit


Current Stable Release

PHPUnit 5.2 is the current stable release series.
It became stable on February 5, 2016.
Its support ends on April 1, 2016.

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

PHPUnit 5.2 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.

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.

Beta-Quality Build

PHPUnit 5.3 is the current beta release series.
It will become stable on April 1, 2016.

You can find out what's new in PHPUnit 5.3 in the ChangeLog.

Alpha-Quality Build

PHPUnit 5.4 is the current alpha release series.
It will become stable on June 3, 2016.

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

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

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.


Bug Reports

Please use the most specific issue tracker to search for existing tickets and to open new tickets.