PHPackages                             hjerichen/php-mock-prophecy-trait - 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. hjerichen/php-mock-prophecy-trait

Abandoned → [hjerichen/prophecy-php](/?search=hjerichen%2Fprophecy-php)ArchivedTesting[Testing &amp; Quality](/categories/testing)

hjerichen/php-mock-prophecy-trait
=================================

A Trait for php unit test cases to activate php-mock-prophecy from Markus Malkusch. Enables auto completion as well.

0.0.3(6y ago)022PHPPHP &gt;=7.1

Since Feb 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/hjerichen/php-mock-prophecy-trait)[ Packagist](https://packagist.org/packages/hjerichen/php-mock-prophecy-trait)[ RSS](/packages/hjerichen-php-mock-prophecy-trait/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

PHP Mock Prophecy Trait
=======================

[](#php-mock-prophecy-trait)

A Trait for php unit test cases to activate php-mock-prophecy from Markus Malkusch. Enables auto completion as well.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~64 days

Total

3

Last Release

2551d ago

PHP version history (2 changes)0.0.1PHP &gt;=7.1.0

0.0.2PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12166801?v=4)[Heiko Jerichen](/maintainers/hjerichen)[@hjerichen](https://github.com/hjerichen)

---

Top Contributors

[![hjerichen](https://avatars.githubusercontent.com/u/12166801?v=4)](https://github.com/hjerichen "hjerichen (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hjerichen-php-mock-prophecy-trait/health.svg)

```
[![Health](https://phpackages.com/badges/hjerichen-php-mock-prophecy-trait/health.svg)](https://phpackages.com/packages/hjerichen-php-mock-prophecy-trait)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M341](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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