The PHP Unit Testing framework.
BSD 3-Clause "New" or "Revised" License
18999
327
2148

πŸ‡ΊπŸ‡¦ UKRAINE NEEDS YOUR HELP NOW!

PHPUnit

Latest Stable Version CI Status Type Coverage codecov

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

Contributors

sebastianbergmann
localheinz
whatthejeff
epdenouden
edorian
realFlowControl
Ocramius
mlively
keradus
theseer
Slamdunk
giorgiosironi
kabel
marcioAlmada
sun
oliverklee
tobyS
kubawerlos
MichelHartmann
mhujer
mbeccati
lstrojny
ptomulik
remicollet
vbashkirtsev
wgevaert
LawnGnome
IchHabRecht
henriquemoody
ArturGoldyn
Idrinth
GrahamCampbell
eclipxe13
fabpot
muglug
shrikeh
dnaber-de
rybakit
rpkamp
morozov
willemstuursma
didslm
Jean85
nicolas-grekas
lcobucci
DFoxinator
carusogabriel
guilliamxavier
hpbuniat
MarioBlazek
JeroenDeDauw
trowski
Ayesh
lapistano
leedwilkins
sebastianheuer
totten
cedx
Danack
edditor
iteman
mihailogajic
mkasberg
nicolashohm
stemis
ThomasWeinert
greg0ire
Tarasovych
evgpisarchik
dzuelke
denis-chmel
fabian
wbars
elblinkin
makasim
milesj
p
SpacePossum
jrfnl
fredemmott
fetmo
alecsmrekar
andrewnicols
benmatselby
christeredvartsen
chrisguitarguy
yourwebmaker
gkralik
jmikola
ksimka
marcospassos
markstory
MasterOdin
mvorisek
nobuf
pfrenssen
wesolowski
Robotic-Brain
symfonyaml
majkel89