Need help with phpunit?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

sebastianbergmann
17.8K Stars 2.0K Forks Other 15.7K Commits 146 Opened issues

Description

The PHP Unit Testing framework.

Services available

!
?

Need anything else?

Contributors list

# 2,399
PHP
php7
PHPUnit
SQLite
8694 commits
# 7,651
Compose...
PHP
PHPUnit
Nette
461 commits
# 29,564
Shell
PHP
PHPUnit
386 commits
# 25,838
PHPUnit
Symfony
php7
coffees...
235 commits
# 32,468
PHP
C
pmd
PHPUnit
185 commits
# 70,341
PHP
Shell
PHPUnit
Symfony
83 commits
# 12,162
PHP
Compose...
php7
PHPUnit
63 commits
# 91,102
Shell
PHP
PHPUnit
HTML
46 commits
# 13,060
PHP
Symfony
symfony...
PHPUnit
36 commits
# 57,699
PHP
Shell
ast
PHPUnit
32 commits
# 95,859
Shell
PHP
PHPUnit
HTML
29 commits
# 47,523
PHP
Zsh
parser-...
PHPUnit
27 commits
# 47,214
autopre...
Ruby
PHPUnit
html5-v...
26 commits
# 116,136
PHP
Symfony
C
oembed
26 commits
# 69,353
PHP
Ruby
timeago
jQuery
25 commits
# 129,784
Shell
PHP
PHPUnit
24 commits
# 124,762
PHP
Node.js
sonos
Symfony
24 commits
# 28,969
PHP
Nette
zend-fr...
slugify
20 commits
# 58,385
PHPUnit
zend-fr...
Nette
phpstan
18 commits
# 33,447
PHP
Symfony
PHPUnit
Compose...
17 commits

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 CI Status Type Coverage

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-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 "Getting Started" guide 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.

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:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.