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.6 is the current stable release series.
It became stable on April 3, 2015.

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

Beta-Quality Build

PHPUnit 4.7 is the current beta release series.
It will become stable on June 5, 2015.

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

Alpha-Quality Build

PHPUnit 4.8 is the current alpha release series.
It will go into beta on June 5, 2015.

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

Please refer to the documentation for details on how to verify PHAR releases of PHPUnit using PGP signatures and SHA1 hashes.

You can have a look at the roadmap to find out what is currently 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.