PHPackages                             phperf/phpunit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. phperf/phpunit

ActiveLibrary[Testing &amp; Quality](/categories/testing)

phperf/phpunit
==============

The PHP Unit Testing framework.

7.0.1(8y ago)03.9k9BSD-3-ClausePHPPHP ^7.1

Since Sep 19Pushed 3y agoCompare

[ Source](https://github.com/phperf/phpunit)[ Packagist](https://packagist.org/packages/phperf/phpunit)[ Docs](https://phpunit.de/)[ RSS](/packages/phperf-phpunit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (17)Versions (302)Used By (9)

PHPUnit
=======

[](#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](https://camo.githubusercontent.com/866a50e386cba7ec15fe6377fb0aa31afe5a33aacda61bc592fe431bb067ed61/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706870756e69742f706870756e69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpunit/phpunit)[![Minimum PHP Version](https://camo.githubusercontent.com/ff4d2453d8c631fdc01fa4e87f9e20462349b51a27e59b856915702d7715fddd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e332e332d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Build Status](https://camo.githubusercontent.com/a6b0d03c1a0bb90859956322616ffa5edf1539cb441e963d9ddc55c5ccac61ca/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73656261737469616e626572676d616e6e2f706870756e69742f342e382e7376673f7374796c653d666c61742d737175617265)](https://phpunit.de/build-status.html)

Installation
------------

[](#installation)

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:

```
$ wget https://phar.phpunit.de/phpunit.phar

$ chmod +x phpunit.phar

$ mv phpunit.phar /usr/local/bin/phpunit
```

You can also immediately use the PHAR after you have downloaded it, of course:

```
$ wget https://phar.phpunit.de/phpunit.phar

$ php phpunit.phar
```

Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the [documentation](https://phpunit.de/documentation.html) for details on how to do this.

Contribute
----------

[](#contribute)

Please refer to [CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/master/CONTRIBUTING.md) for information on how to contribute to PHPUnit and its related projects.

List of Contributors
--------------------

[](#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\_CodeCoverage](https://github.com/sebastianbergmann/php-code-coverage/graphs/contributors)
- [PHPUnit\_MockObject](https://github.com/sebastianbergmann/phpunit-mock-objects/graphs/contributors)

A very special thanks to everyone who has contributed to the documentation and helps maintain the translations:

- [PHPUnit Documentation](https://github.com/sebastianbergmann/phpunit-documentation/graphs/contributors)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 84.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Recently: every ~383 days

Total

294

Last Release

1481d ago

Major Versions

5.7.25 → 6.5.02017-11-30

5.7.26 → 6.5.52017-12-17

5.7.x-dev → 6.5.62018-02-01

6.5.6 → 7.0.02018-02-02

6.5.x-dev → 7.0.x-dev2018-02-18

PHP version history (6 changes)3.7.0PHP &gt;=5.3.3

5.0.0PHP &gt;=5.6

4.8.20PHP ~5.3.3|~5.4|~5.5|~5.6

5.2.8PHP ^5.6 || ^7.0

6.0.0PHP ^7.0

7.0.0PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/27acbd2504e91c838d403112493d8ae7b584c2d8d2f2ea7a9762ef764e35bc8c?d=identicon)[vearutop](/maintainers/vearutop)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (4989 commits)")[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (393 commits)")[![edorian](https://avatars.githubusercontent.com/u/247397?v=4)](https://github.com/edorian "edorian (224 commits)")[![mlively](https://avatars.githubusercontent.com/u/176150?v=4)](https://github.com/mlively "mlively (46 commits)")[![marcioAlmada](https://avatars.githubusercontent.com/u/227395?v=4)](https://github.com/marcioAlmada "marcioAlmada (27 commits)")[![sun](https://avatars.githubusercontent.com/u/41992?v=4)](https://github.com/sun "sun (25 commits)")[![tobyS](https://avatars.githubusercontent.com/u/187140?v=4)](https://github.com/tobyS "tobyS (24 commits)")[![giorgiosironi](https://avatars.githubusercontent.com/u/160299?v=4)](https://github.com/giorgiosironi "giorgiosironi (22 commits)")[![LawnGnome](https://avatars.githubusercontent.com/u/229984?v=4)](https://github.com/LawnGnome "LawnGnome (14 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (10 commits)")[![rybakit](https://avatars.githubusercontent.com/u/533861?v=4)](https://github.com/rybakit "rybakit (10 commits)")[![hpbuniat](https://avatars.githubusercontent.com/u/214626?v=4)](https://github.com/hpbuniat "hpbuniat (8 commits)")[![henriquemoody](https://avatars.githubusercontent.com/u/154023?v=4)](https://github.com/henriquemoody "henriquemoody (8 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (7 commits)")[![theseer](https://avatars.githubusercontent.com/u/111333?v=4)](https://github.com/theseer "theseer (7 commits)")[![vearutop](https://avatars.githubusercontent.com/u/1381436?v=4)](https://github.com/vearutop "vearutop (6 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (6 commits)")[![iteman](https://avatars.githubusercontent.com/u/52985?v=4)](https://github.com/iteman "iteman (6 commits)")[![keradus](https://avatars.githubusercontent.com/u/2716794?v=4)](https://github.com/keradus "keradus (6 commits)")[![dzuelke](https://avatars.githubusercontent.com/u/27900?v=4)](https://github.com/dzuelke "dzuelke (5 commits)")

---

Tags

testingphpunitxunit

### Embed Badge

![Health badge](/badges/phperf-phpunit/health.svg)

```
[![Health](https://phpackages.com/badges/phperf-phpunit/health.svg)](https://phpackages.com/packages/phperf-phpunit)
```

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

20.0k910.7M134.8k](/packages/phpunit-phpunit)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[phpunit/php-code-coverage

Library that provides collection, processing, and rendering functionality for PHP code coverage information.

8.9k892.4M1.5k](/packages/phpunit-php-code-coverage)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
