Awesome
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:
- phpunit/phpunit
- phpunit/php-code-coverage
- phpunit/php-file-iterator
- phpunit/php-invoker
- phpunit/php-text-template
- phpunit/php-timer
- sebastian/cli-parser
- sebastian/comparator
- sebastian/complexity
- sebastian/diff
- sebastian/environment
- sebastian/exporter
- sebastian/global-state
- sebastian/lines-of-code
- sebastian/object-enumerator
- sebastian/object-reflector
- sebastian/recursion-context
- sebastian/type
- sebastian/version
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:
- myclabs/deep-copy
- nikic/php-parser
- phar-io/manifest
- phar-io/version
- staabm/side-effects-detector
- theseer/tokenizer
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:
<table> <tbody> <tr> <td style="width: 30%; vertical-align: middle;"><a href="https://www.bubbleshooter.net/"><img alt="Bubble Shooter" src=".github/img/bubble-shooter.png" style="width: 200px;"/></a></td> <td style="width: 30%; vertical-align: middle;"><a href="https://www.in2it.be/phpunit-supporter/"><img alt="in2it vof" src=".github/img/in2it.svg" style="width: 200px;"/></a></td> <td style="width: 30%; vertical-align: middle;"><a href="https://roave.com/"><img alt="Roave" src=".github/img/roave.svg" style="width: 200px;"/></a></td> </tr> <tr> <td style="width: 30%; vertical-align: middle;"><a href="https://route4me.com/"><img alt="Route4Me" src=".github/img/route4me.svg" style="width: 200px;"/></a></td> <td style="width: 30%; vertical-align: middle;"><a href="https://testmo.com/"><img alt="Testmo GmbH" src=".github/img/testmo.svg" style="width: 200px;"/></a></td> <td style="width: 30%; vertical-align: middle;"><a href="https://tideways.com/"><img alt="Tideways GmbH" src=".github/img/tideways.svg" style="width: 200px;"/></a></td> </tr> <tr> <td style="width: 30%; vertical-align: middle;"><a href="https://typo3.com/"><img alt="TYPO3 GmbH" src=".github/img/typo3.svg" style="width: 200px;"/></a></td> <td style="width: 30%; vertical-align: middle;"><a href="https://vema-eg.de/"><img alt="VEMA Versicherungsmakler Genossenschaft eG" src=".github/img/vema.svg" style="width: 200px;"/></a></td> </tr> </tbody> </table>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.