2017 © Pedro Peláez

library phpunit

The PHP Unit Testing framework.



The PHP Unit Testing framework.

  • Saturday, July 21, 2018
  • by Sebastian
  • Repository
  • 365 Watchers
  • 10675 Stars
  • 89,922,181 Installations
  • PHP
  • 61750 Dependents
  • 148 Suggesters
  • 1633 Forks
  • 65 Open issues
  • 100 Versions
  • 7 % Grown



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

Latest Stable Version Minimum PHP Version CI Status Type Coverage, (*2)


We distribute a PHP Archive (PHAR) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:, (*3)

$ 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., (*4)

Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies. Please refer to the "Getting Started" guide for details on how to install PHPUnit., (*5)


Please refer to CONTRIBUTING.md for information on how to contribute to PHPUnit and its related projects., (*6)

List of Contributors

Thanks to everyone who has contributed to PHPUnit! You can find a detailed list of contributors on every PHPUnit related package on GitHub. This list shows only the major components:, (*7)

A very special thanks to everyone who has contributed to the documentation and helps maintain the translations:, (*8)

The Versions