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

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

eloquent/phony-phpunit
======================

Phony for PHPUnit.

7.1.0(5y ago)6253.7k↓46%320MITPHPPHP ^7.3 || ^8

Since Apr 23Pushed 2y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (9)Versions (13)Used By (20)

> # No longer maintained
>
> [](#no-longer-maintained)
>
> This package is no longer maintained. See \[this statement\] for more info.
>
> \[this statement\]:  Phony for PHPUnit

[![Current version image](https://camo.githubusercontent.com/4295c2e5fc2a4eced629c7293a92369af3fff483c92075313c55359be4f5412b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c6f7175656e742f70686f6e792d706870756e69742e7376673f7374796c653d666c61742d737175617265 "This project uses semantic versioning")](https://packagist.org/packages/eloquent/phony-phpunit)

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

[](#installation)

```
composer require --dev eloquent/phony-phpunit

```

See also
--------

[](#see-also)

- Read the [documentation](http://eloquent-software.com/phony/latest/).
- Read the [PHPUnit documentation](https://phpunit.readthedocs.io/).
- Visit the [main Phony repository](https://github.com/eloquent/phony).

License
-------

[](#license)

For the full copyright and license information, please view the [LICENSE file](LICENSE).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 98.5% 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 ~148 days

Recently: every ~247 days

Total

10

Last Release

1974d ago

Major Versions

2.0.0 → 3.0.02017-09-29

3.0.0 → 4.0.02018-03-19

4.0.1 → 5.0.02019-02-05

5.0.0 → 6.0.02020-01-05

6.0.0 → 7.0.02020-02-12

PHP version history (6 changes)0.1.0PHP &gt;=5.3

2.0.0PHP &gt;=7

4.0.0PHP &gt;=7.1

5.0.0PHP &gt;=7.2

7.0.0PHP &gt;=7.3

7.1.0PHP ^7.3 || ^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/100152?v=4)[Erin](/maintainers/ezzatron)[@ezzatron](https://github.com/ezzatron)

---

Top Contributors

[![ezzatron](https://avatars.githubusercontent.com/u/100152?v=4)](https://github.com/ezzatron "ezzatron (65 commits)")[![shadowhand](https://avatars.githubusercontent.com/u/38203?v=4)](https://github.com/shadowhand "shadowhand (1 commits)")

---

Tags

mockingmocking-frameworksphpphpunitstubbingtestingmockingtestmockstubfakespyDummyDoublestubbing

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

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

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[icecave/isolator

Dependency injection for global functions.

371.3M29](/packages/icecave-isolator)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

36918.1M98](/packages/php-mock-php-mock)[phake/phake

The Phake mock testing library

4758.0M324](/packages/phake-phake)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.2M399](/packages/php-mock-php-mock-phpunit)

PHPackages © 2026

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