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 Take the first steps Read the documentation Learn from presentations Register for training Contribute!

Download PHPUnit


Stable Release

PHPUnit 4.0 is the current stable release series of PHPUnit.
It became stable on March 7, 2014.

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

Old, But Stable Release

PHPUnit 3.7 is the current old, but stable release series of PHPUnit.
It became stable on September 19, 2012.

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

Beta-Quality Build

PHPUnit 4.1 is the current beta release series of PHPUnit.
It will become stable on May 2, 2014.

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

Alpha-Quality Build

PHPUnit 4.2 is the current alpha release series of PHPUnit.
It will go into beta on June 6, 2014 and become stable on August 8, 2014.

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


Get Support

Bug Reports

If you believe you have discovered a bug in PHPUnit, please use the most specific issue tracker to enter bug reports and to search for existing reports:

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.