🏳️PHPUnit: The PHP Testing Framework

Website faviconphpunit.de

PHPUnit is the industry-leading test automation framework for software built using PHP.

Welcome to PHPUnit!

===================

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

[Take the first steps](getting-started/phpunit-12.html) [Get training or consulting](professional-services.html) [Become a sponsor](sponsors.html)

**[PHPUnit 12](announcements/phpunit-12.html) is the [current stable](supported-versions.html) version.**

[PHPUnit 12.1](https://github.com/sebastianbergmann/phpunit/milestone/64) will be the next minor version. [PHPUnit 13](https://github.com/sebastianbergmann/phpunit/milestone/69) will be the next major version.

* * *

### [Announcements](announcements/index.html)

*   February 7, 2025

    [PHPUnit 12 has been released](announcements/phpunit-12.html)

*   February 2, 2024

    [PHPUnit 11 has been released](announcements/phpunit-11.html)

*   February 3, 2023

    [PHPUnit 10 has been released](announcements/phpunit-10.html)

### Articles

*   March 22, 2024

    [PCOV or Xdebug?](https://thephp.cc/articles/pcov-or-xdebug?ref=phpunit)

*   March 11, 2024

    [PHPUnit Code Sprint: March 2024](https://thephp.cc/articles/phpunit-code-sprint-march-2024?ref=phpunit)

*   April 4, 2022

    [Why I manage test fixture differently](https://thephp.cc/articles/why-i-manage-test-fixture-differently?ref=phpunit)