PHPackages                             cyruscollier/phpspec-php-mock - 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. cyruscollier/phpspec-php-mock

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

cyruscollier/phpspec-php-mock
=============================

Adds the PHP Mock function mocking library as a phpspec Collaborator

2.1.2(6y ago)1404MIT

Since Aug 26Compare

[ Source](https://github.com/cyruscollier/phpspec-php-mock)[ Packagist](https://packagist.org/packages/cyruscollier/phpspec-php-mock)[ Docs](http://github.com/cyruscollier/phpspec-php-mock)[ RSS](/packages/cyruscollier-phpspec-php-mock/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/cyruscollier/phpspec-php-mock).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity67

Established project with proven stability

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 ~303 days

Total

5

Last Release

2329d ago

Major Versions

1.0.0 → 2.02018-03-15

### Community

Maintainers

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

---

Tags

testprophecyphpspecphpmock

### Embed Badge

![Health badge](/badges/cyruscollier-phpspec-php-mock/health.svg)

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

###  Alternatives

[benconstable/phpspec-laravel

Test your Laravel applications with PhpSpec

144347.1k15](/packages/benconstable-phpspec-laravel)[friends-of-phpspec/phpspec-code-coverage

Generate Code Coverage reports for PhpSpec tests

202.6M124](/packages/friends-of-phpspec-phpspec-code-coverage)[phpspec/nyan-formatters

PHPSpec Nyan Formatter Extension

77239.9k22](/packages/phpspec-nyan-formatters)[php-mock/php-mock-prophecy

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

16496.6k15](/packages/php-mock-php-mock-prophecy)[ramunasd/symfony-container-mocks

Provides extended Symfony dependency injection container enabling service mocking.

2295.8k2](/packages/ramunasd-symfony-container-mocks)

PHPackages © 2026

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