PHPackages                             codeception/mockery-module - 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. codeception/mockery-module

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

codeception/mockery-module
==========================

Mockery Module for Codeception

0.5.0(4y ago)344.5M↓38.8%12[2 issues](https://github.com/Codeception/MockeryModule/issues)20MITPHP

Since Jan 25Pushed 4y ago7 watchersCompare

[ Source](https://github.com/Codeception/MockeryModule)[ Packagist](https://packagist.org/packages/codeception/mockery-module)[ RSS](/packages/codeception-mockery-module/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (2)Versions (9)Used By (20)

Mockery Module for Codeception
==============================

[](#mockery-module-for-codeception)

Integrates [Mockery](https://github.com/padraic/mockery) into Codeception tests.

### Example (`unit.suite.yml`)

[](#example-unitsuiteyml)

```
 modules:
    enabled: [Mockery]

```

### Install

[](#install)

add into `composer.json`:

```
{
    "require-dev": {
        "codeception/codeception": "*",
        "codeception/mockery-module": "*"
    }
}

```

This will install Mockery itself + basic module that will invoke mockery verifications after each test.

[Changelog](https://github.com/Codeception/MockeryModule/releases)

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~594 days

Total

8

Last Release

1604d ago

### Community

Maintainers

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

---

Top Contributors

[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (9 commits)")[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (7 commits)")[![kornrunner](https://avatars.githubusercontent.com/u/725986?v=4)](https://github.com/kornrunner "kornrunner (3 commits)")[![Naktibalda](https://avatars.githubusercontent.com/u/395992?v=4)](https://github.com/Naktibalda "Naktibalda (3 commits)")[![yesdevnull](https://avatars.githubusercontent.com/u/468779?v=4)](https://github.com/yesdevnull "yesdevnull (2 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (1 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (1 commits)")[![akimsko](https://avatars.githubusercontent.com/u/737250?v=4)](https://github.com/akimsko "akimsko (1 commits)")[![GSokol](https://avatars.githubusercontent.com/u/1274970?v=4)](https://github.com/GSokol "GSokol (1 commits)")

### Embed Badge

![Health badge](/badges/codeception-mockery-module/health.svg)

```
[![Health](https://phpackages.com/badges/codeception-mockery-module/health.svg)](https://phpackages.com/packages/codeception-mockery-module)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k43.6M45.8k](/packages/orchestra-testbench)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15312.2M36](/packages/magento-magento2-functional-testing-framework)[lucatume/wp-browser

A set of Codeception modules to test WordPress projects.

6364.2M194](/packages/lucatume-wp-browser)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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