PHPackages                             ervinne/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. ervinne/phpunit

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

ervinne/phpunit
===============

The PHP Unit Testing framework.

7.1.4(8y ago)015BSD-3-ClausePHPPHP ^7.1

Since Sep 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ervinne13/phpunit)[ Packagist](https://packagist.org/packages/ervinne/phpunit)[ Docs](https://phpunit.de/)[ RSS](/packages/ervinne-phpunit/feed)WikiDiscussions ervinne-master Synced 4d ago

READMEChangelogDependencies (17)Versions (321)Used By (0)

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/90eed33e7df559b70b174e97d37a4907946803c7ab691640166d2518d8cd2118/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Build Status](https://camo.githubusercontent.com/308ce557176a52e131f01c147a2a28ad9b238a312c0fdfa940aa4df1f4950c03/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73656261737469616e626572676d616e6e2f706870756e69742f362e302e7376673f7374796c653d666c61742d737175617265)](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/.github/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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 87.9% 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 ~6 days

Total

311

Last Release

2949d ago

Major Versions

5.7.x-dev → 6.5.62018-02-01

6.5.6 → 7.0.02018-02-02

6.5.7 → 7.0.22018-02-26

6.5.8 → 7.1.22018-04-10

6.5.x-dev → 7.1.42018-04-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/85e3efb48cbd88819d9b246601757ac2145cf935fab9745e8348f5978c5c05b3?d=identicon)[ervinne](/maintainers/ervinne)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (6844 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 (23 commits)")[![vbashkirtsev](https://avatars.githubusercontent.com/u/16136510?v=4)](https://github.com/vbashkirtsev "vbashkirtsev (15 commits)")[![kabel](https://avatars.githubusercontent.com/u/675956?v=4)](https://github.com/kabel "kabel (15 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (14 commits)")[![LawnGnome](https://avatars.githubusercontent.com/u/229984?v=4)](https://github.com/LawnGnome "LawnGnome (14 commits)")[![henriquemoody](https://avatars.githubusercontent.com/u/154023?v=4)](https://github.com/henriquemoody "henriquemoody (12 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (10 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)")[![theseer](https://avatars.githubusercontent.com/u/111333?v=4)](https://github.com/theseer "theseer (8 commits)")[![lstrojny](https://avatars.githubusercontent.com/u/79707?v=4)](https://github.com/lstrojny "lstrojny (8 commits)")[![hpbuniat](https://avatars.githubusercontent.com/u/214626?v=4)](https://github.com/hpbuniat "hpbuniat (8 commits)")[![mbeccati](https://avatars.githubusercontent.com/u/282388?v=4)](https://github.com/mbeccati "mbeccati (7 commits)")

---

Tags

testingphpunitxunit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/ervinne-phpunit/health.svg)](https://phpackages.com/packages/ervinne-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)
