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.2M—3%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 1mo 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 92% 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

1513d 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.2k39.1M32.1k](/packages/orchestra-testbench)[jasonmccreary/laravel-test-assertions

A set of helpful assertions when testing Laravel applications.

3513.9M32](/packages/jasonmccreary-laravel-test-assertions)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[codeception/module-webdriver

WebDriver module for Codeception

3831.4M245](/packages/codeception-module-webdriver)[docler-labs/codeception-slim-module

Codeception Module for Slim framework.

13178.0k1](/packages/docler-labs-codeception-slim-module)[lastzero/test-tools

Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit

2244.3k13](/packages/lastzero-test-tools)

PHPackages © 2026

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