2017 © Pedro Peláez

library phpunit

The PHP Unit Testing framework.



The PHP Unit Testing framework.

  • Friday, February 2, 2018
  • by Sebastian
  • Repository
  • 363 Watchers
  • 7761 Stars
  • 71,117,684 Installations
  • PHP
  • 55323 Dependents
  • 139 Suggesters
  • 1537 Forks
  • 56 Open issues
  • 100 Versions
  • 5 % 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 Build Status, (*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.phar

$ chmod +x phpunit.phar

$ mv phpunit.phar /usr/local/bin/phpunit

You can also immediately use the PHAR after you have downloaded it, of course:, (*4)

$ wget https://phar.phpunit.de/phpunit.phar

$ php phpunit.phar

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 do this., (*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

04/02 2017

5.7.10 https://phpunit.de/

The PHP Unit Testing framework.

  Sources   Download


The Requires

  • ext-dom *
  • ext-json *
  • ext-libxml *
  • ext-mbstring *
  • ext-xml *