phpunit 0,2,8,0,2,6,0,3 travis-ci Packagist phpunit

The PHP Unit Testing framework.

PHPUnit

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

Latest Stable Version Minimum PHP Version Build Status

Installation

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

$ 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:

$ 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.

Contribute

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

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:

A very special thanks to everyone who has contributed to the documentation and helps maintain the translations:

Related Repositories

phpunit-vw

phpunit-vw

VW PHPUnit extension makes your failing test cases succeed under CI tools scrutiny ...

phpunit-selenium

phpunit-selenium

Selenium RC integration for PHPUnit ...

nyancat-phpunit-resultprinter

nyancat-phpunit-resultprinter

Nyan Cat result printer for PHPUnit ...

phpunit-speedtrap

phpunit-speedtrap

Reports on slow-running tests in your PHPUnit test suite ...

phpunit-extensions

phpunit-extensions

Etsy PHPUnit Extensions ...


Top Contributors

sebastianbergmann whatthejeff edorian mlively marcioAlmada sun tobyS giorgiosironi claylo kabel LawnGnome henriquemoody rybakit fabpot remicollet vbashkirtsev lstrojny hpbuniat GrahamCampbell theseer JCook21 JeroenDeDauw iteman dzuelke mbeccati keradus p milesj benmatselby chrisguitarguy

Dependencies

package version
php ^7.0
ext-dom *
ext-json *
ext-libxml *
ext-mbstring *
ext-xml *
myclabs/deep-copy ^1.6.1
phar-io/manifest ^1.0.1
phar-io/version ^1.0
phpspec/prophecy ^1.7
phpunit/php-code-coverage ^5.2.2
phpunit/php-file-iterator ^1.4.2
phpunit/php-text-template ^1.2.1
phpunit/php-timer ^1.0.9
phpunit/phpunit-mock-objects ^4.0.3
sebastian/comparator ^2.0.2
sebastian/diff ^2.0
sebastian/environment ^3.1
sebastian/exporter ^3.1
sebastian/global-state ^2.0
sebastian/object-enumerator ^3.0.3
sebastian/resource-operations ^1.0
sebastian/version ^2.0.1
dev ext-PDO *

Releases

-   5.5.5 zip tar
-   5.5.4 zip tar
-   5.5.3 zip tar
-   5.5.2 zip tar
-   5.5.1 zip tar
-   5.5.0 zip tar
-   5.4.8 zip tar
-   5.4.7 zip tar
-   5.4.6 zip tar
-   5.4.5 zip tar
-   5.4.4 zip tar
-   5.4.3 zip tar
-   5.4.2 zip tar
-   5.4.1 zip tar
-   5.4.0 zip tar
-   5.3.5 zip tar
-   5.3.4 zip tar
-   5.3.3 zip tar
-   5.3.2 zip tar
-   5.3.1 zip tar
-   5.3.0 zip tar
-   5.2.12 zip tar
-   5.2.11 zip tar
-   5.2.10 zip tar
-   5.2.9 zip tar
-   5.2.8 zip tar
-   5.2.7 zip tar
-   5.2.6 zip tar
-   5.2.5 zip tar
-   5.2.4 zip tar