Skip to content

The PHP Unit Testing framework.

License

Notifications You must be signed in to change notification settings

sebastianbergmann/phpunit

Folders and files

NameName
Last commit message
Last commit date
Feb 21, 2025
Mar 23, 2025
Nov 16, 2024
Feb 7, 2025
Mar 25, 2025
Mar 25, 2025
Mar 23, 2025
Mar 9, 2024
Jul 17, 2024
Jul 1, 2024
Oct 19, 2024
Mar 25, 2025
Feb 26, 2025
Jan 1, 2025
Dec 25, 2024
Dec 13, 2023
Mar 13, 2025
Mar 18, 2025
Mar 18, 2025
Mar 19, 2025
Oct 6, 2024
Jan 26, 2025
Feb 7, 2025

PHPUnit

CI Status codecov Latest Stable Version Total Downloads Monthly Downloads Daily Downloads

PHPUnit

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

Installation

We distribute a PHP Archive (PHAR) that has all required dependencies of PHPUnit bundled in a single file:

$ wget https://phar.phpunit.de/phpunit-X.Y.phar

$ php phpunit-X.Y.phar --version

Please replace X.Y with the version of PHPUnit you are interested in.

Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies. Please refer to the documentation for details on how to install PHPUnit.

Contribute

Please refer to CONTRIBUTING.md for information on how to contribute to PHPUnit and its related projects.

A big "Thank you!" to everyone who has contributed to PHPUnit! You can find a detailed list of contributors on every PHPUnit related package on GitHub.

Here is a list of all components that are primarily developed and maintained by Sebastian Bergmann:

A very special thanks to everyone who has contributed to the PHPUnit Manual.

In addition to the components listed above, PHPUnit depends on the components listed below:

These tools are used to develop PHPUnit:

Sponsors

It has taken Sebastian Bergmann thousands of hours to develop, test, and support PHPUnit. You can sponsor his Open Source work through GitHub Sponsors, for example.

These businesses support Sebastian Bergmann's work on PHPUnit:

Bubble Shooter in2it vof Roave
Route4Me Testmo GmbH Tideways GmbH
TYPO3 GmbH VEMA Versicherungsmakler Genossenschaft eG

Would you like to see your logo here as well as on the PHPUnit website? Contact Sebastian Bergmann at sponsoring@phpunit.de to learn more about how you can support his work on PHPUnit.

Whether you are a CEO, CFO, CTO, or a developer: your company surely depends on Open Source software. It is time to pay your share and support maintainers like Sebastian Bergmann.