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

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

etsy/phpunit-extensions
=======================

Etsy PHPUnit Extensions

v0.7.6(7y ago)226172.8k—9.1%24[2 issues](https://github.com/etsy/phpunit-extensions/issues)[1 PRs](https://github.com/etsy/phpunit-extensions/pulls)2BSD-3-ClausePHPPHP ^7.1

Since Jul 24Pushed 7y ago20 watchersCompare

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

READMEChangelog (7)Dependencies (3)Versions (13)Used By (2)

Etsy PHPUnit Extensions
=======================

[](#etsy-phpunit-extensions)

[PHPUnit](https://github.com/sebastianbergmann/phpunit) is the standard in testing PHP code. [Etsy](http://www.etsy.com) uses a lot of PHP and tests help us maintain quality while taking continuous deployment to the extreme. We have encountered a few use cases here an there that let us work with PHPUnit better and faster, and we thought it would be awesome to share with everyone.

Tutorials
---------

[](#tutorials)

- [Asserts](https://github.com/etsy/phpunit-extensions/wiki/Asserts)
- [Constraints](https://github.com/etsy/phpunit-extensions/wiki/Constraints)
- [Database](https://github.com/etsy/phpunit-extensions/wiki/Database)
- [Helpers](https://github.com/etsy/phpunit-extensions/wiki/Helpers)
- [Mock Object](https://github.com/etsy/phpunit-extensions/wiki/Mock-Object)
- [Mockery](https://github.com/etsy/phpunit-extensions/wiki/Mockery)
- [Multiple Database](https://github.com/etsy/phpunit-extensions/wiki/Multiple-Database)
- [Ticket Listener](https://github.com/etsy/phpunit-extensions/wiki/Ticket-Listener)
- [PHPUI Command](https://github.com/etsy/phpunit-extensions/wiki/PHPUI-Command) Experimental!!

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

[](#installation)

See [PEAR Channel](http://etsy.github.com/phpunit-extensions)

Version &gt; 0.3.x requires PHP 5.3.6

Version &lt; 0.2.x requires PHP 5.2.9

Contribute
----------

[](#contribute)

You're interested in contributing to Etsy PHPUnit Extensions?

Here are the basic steps:

fork phpunit-extensions from here:

1. Clone your fork
2. Hack away
3. If you are adding new functionality, document it in the Wiki
4. If necessary, rebase your commits into logical chunks, without errors
5. Push the branch up to GitHub
6. Send a pull request to the etsy/phpunit-extensions project.

We'll do our best to get your changes in!

Contributors
------------

[](#contributors)

In lieu of a list of contributors, check out the commit history for the project:

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56% 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 ~210 days

Recently: every ~168 days

Total

8

Last Release

2842d ago

PHP version history (2 changes)v0.7.0PHP &gt;=5.3.6

v0.7.4PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/b702f9dd0d0c3ccde40c3bf375bcfb6e1beed457d8274c655885f6db6968505c?d=identicon)[jgedarovich](/maintainers/jgedarovich)

![](https://www.gravatar.com/avatar/8cb79def113eff4a07271e97cf026f12178bfb224bbcb86fbcca7f2199bbaee8?d=identicon)[ccrews](/maintainers/ccrews)

---

Top Contributors

[![elblinkin](https://avatars.githubusercontent.com/u/431221?v=4)](https://github.com/elblinkin "elblinkin (28 commits)")[![fentie](https://avatars.githubusercontent.com/u/273815?v=4)](https://github.com/fentie "fentie (6 commits)")[![jgedarovich](https://avatars.githubusercontent.com/u/1663154?v=4)](https://github.com/jgedarovich "jgedarovich (6 commits)")[![sqmk](https://avatars.githubusercontent.com/u/279474?v=4)](https://github.com/sqmk "sqmk (5 commits)")[![ccrewsMorgue](https://avatars.githubusercontent.com/u/36551608?v=4)](https://github.com/ccrewsMorgue "ccrewsMorgue (2 commits)")[![oker1](https://avatars.githubusercontent.com/u/431237?v=4)](https://github.com/oker1 "oker1 (1 commits)")[![psaintlaurent](https://avatars.githubusercontent.com/u/347096?v=4)](https://github.com/psaintlaurent "psaintlaurent (1 commits)")[![NoodlesNZ](https://avatars.githubusercontent.com/u/1063979?v=4)](https://github.com/NoodlesNZ "NoodlesNZ (1 commits)")

---

Tags

non-soxphpunitextensionsetsy

### Embed Badge

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

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

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[robiningelbrecht/phpunit-pretty-print

Prettify PHPUnit output

76460.0k15](/packages/robiningelbrecht-phpunit-pretty-print)[rybakit/phpunit-extras

Custom annotations and expectations for PHPUnit.

4778.2k1](/packages/rybakit-phpunit-extras)[juampi92/test-seo

Easy way to test your SEO

26341.0k](/packages/juampi92-test-seo)[robiningelbrecht/phpunit-coverage-tools

PHPUnit coverage tools

1783.0k34](/packages/robiningelbrecht-phpunit-coverage-tools)

PHPackages © 2026

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