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 today

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 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

2501d 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

[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.9M571](/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)
