41 lines
2.4 KiB
Markdown
41 lines
2.4 KiB
Markdown
# PHPUnit
|
|
|
|
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
|
|
|
|
[](https://packagist.org/packages/phpunit/phpunit)
|
|
[](https://php.net/)
|
|
[](https://phpunit.de/build-status.html)
|
|
|
|
## Installation
|
|
|
|
We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit 7.5 bundled in a single file:
|
|
|
|
```bash
|
|
$ wget https://phar.phpunit.de/phpunit-7.5.phar
|
|
|
|
$ php phpunit-7.5.phar --version
|
|
```
|
|
|
|
Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the "[Getting Started](https://phpunit.de/getting-started-with-phpunit.html)" guide for details on how to install PHPUnit.
|
|
|
|
## Contribute
|
|
|
|
Please refer to [CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/master/.github/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:
|
|
|
|
* [PHPUnit](https://github.com/sebastianbergmann/phpunit/graphs/contributors)
|
|
* [php-code-coverage](https://github.com/sebastianbergmann/php-code-coverage/graphs/contributors)
|
|
|
|
A very special thanks to everyone who has contributed to the documentation and helps maintain the translations:
|
|
|
|
* [English](https://github.com/sebastianbergmann/phpunit-documentation-english/graphs/contributors)
|
|
* [Spanish](https://github.com/sebastianbergmann/phpunit-documentation-spanish/graphs/contributors)
|
|
* [French](https://github.com/sebastianbergmann/phpunit-documentation-french/graphs/contributors)
|
|
* [Japanese](https://github.com/sebastianbergmann/phpunit-documentation-japanese/graphs/contributors)
|
|
* [Brazilian Portuguese](https://github.com/sebastianbergmann/phpunit-documentation-brazilian-portuguese/graphs/contributors)
|
|
* [Simplified Chinese](https://github.com/sebastianbergmann/phpunit-documentation-chinese/graphs/contributors)
|
|
|