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

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

jwyuen/phpunit-extensions
=========================

Etsy PHPUnit Extensions

0156PHP

Since Jan 14Pushed 12y ago1 watchersCompare

[ Source](https://github.com/jwyuen/phpunit-extensions)[ Packagist](https://packagist.org/packages/jwyuen/phpunit-extensions)[ RSS](/packages/jwyuen-phpunit-extensions/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/786fa45af36b34a5a53f0078f6336944b1fb196299d01d998651b44a18a306d7?d=identicon)[jwingy](/maintainers/jwingy)

---

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)")[![sqmk](https://avatars.githubusercontent.com/u/279474?v=4)](https://github.com/sqmk "sqmk (5 commits)")[![oker1](https://avatars.githubusercontent.com/u/431237?v=4)](https://github.com/oker1 "oker1 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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