| 148 |
lars |
1 |
<h1 align="center">🇺🇦 <a href="https://phpunit.de/stand-with-ukraine.html">UKRAINE NEEDS YOUR HELP NOW!</a></h1>
|
|
|
2 |
|
|
|
3 |
# PHPUnit
|
|
|
4 |
|
|
|
5 |
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
|
|
|
6 |
|
|
|
7 |
[](https://packagist.org/packages/phpunit/phpunit)
|
|
|
8 |
[](https://php.net/)
|
|
|
9 |
[](https://phpunit.de/build-status.html)
|
|
|
10 |
[](https://shepherd.dev/github/sebastianbergmann/phpunit)
|
|
|
11 |
|
|
|
12 |
## Installation
|
|
|
13 |
|
|
|
14 |
We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:
|
|
|
15 |
|
|
|
16 |
```bash
|
|
|
17 |
$ wget https://phar.phpunit.de/phpunit-X.Y.phar
|
|
|
18 |
|
|
|
19 |
$ php phpunit-X.Y.phar --version
|
|
|
20 |
```
|
|
|
21 |
|
|
|
22 |
Please replace `X.Y` with the version of PHPUnit you are interested in.
|
|
|
23 |
|
|
|
24 |
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.
|
|
|
25 |
|
|
|
26 |
## Contribute
|
|
|
27 |
|
|
|
28 |
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.
|
|
|
29 |
|
|
|
30 |
## List of Contributors
|
|
|
31 |
|
|
|
32 |
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:
|
|
|
33 |
|
|
|
34 |
* [PHPUnit](https://github.com/sebastianbergmann/phpunit/graphs/contributors)
|
|
|
35 |
* [php-code-coverage](https://github.com/sebastianbergmann/php-code-coverage/graphs/contributors)
|
|
|
36 |
|
|
|
37 |
A very special thanks to everyone who has contributed to the documentation and helps maintain the translations:
|
|
|
38 |
|
|
|
39 |
* [English](https://github.com/sebastianbergmann/phpunit-documentation-english/graphs/contributors)
|
|
|
40 |
* [Spanish](https://github.com/sebastianbergmann/phpunit-documentation-spanish/graphs/contributors)
|
|
|
41 |
* [French](https://github.com/sebastianbergmann/phpunit-documentation-french/graphs/contributors)
|
|
|
42 |
* [Japanese](https://github.com/sebastianbergmann/phpunit-documentation-japanese/graphs/contributors)
|
|
|
43 |
* [Brazilian Portuguese](https://github.com/sebastianbergmann/phpunit-documentation-brazilian-portuguese/graphs/contributors)
|
|
|
44 |
* [Simplified Chinese](https://github.com/sebastianbergmann/phpunit-documentation-chinese/graphs/contributors)
|
|
|
45 |
|