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


Stable Release

PHPUnit 4.8 is the current stable release series.
It became stable on August 7, 2015.

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

Beta-Quality Build

PHPUnit 5.0 is the current beta release series.
It will become stable on October 2, 2015.

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

Alpha-Quality Build

PHPUnit 5.1 is the current alpha release series.
It will become stable on December 4, 2015.

You can find out what's new in PHPUnit 5.1 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:

Mailing List

user@phpunit.de is a mailing list where the usage of PHPUnit is discussed.

Chat

gitter.im/sebastianbergmann/phpunit is a place to chat about PHPUnit.