PHPackages                             rezouce/codeception-mongodb-cleanstate - 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. rezouce/codeception-mongodb-cleanstate

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

rezouce/codeception-mongodb-cleanstate
======================================

Drop MongoDB databases to ensure each test using MongoDB are in a clean environment

1.0.1(10y ago)0342MITPHP

Since Oct 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Rezouce/codeception-mongodb-cleanstate)[ Packagist](https://packagist.org/packages/rezouce/codeception-mongodb-cleanstate)[ RSS](/packages/rezouce-codeception-mongodb-cleanstate/feed)WikiDiscussions master Synced yesterday

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

What's this?
------------

[](#whats-this)

It's a Codeception module to ensure the MongoDB databases are dropped before each test to ensure a clean state.

How to?
-------

[](#how-to)

To add it to your project run `composer require rezouce/codeception-mongodb-cleanstate`

You can then add *MongoDbCleanState* to your Codeception configuration file in the modules enabled section: `modules: enabled: - MongoDbCleanState`

License
-------

[](#license)

This library is open-sourced software licensed under the MIT license

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3902d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66b5f498a11c2499d9b5cd714020b5608b1b6f6b6cae70f55c06da482c048e38?d=identicon)[Rezouce](/maintainers/Rezouce)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rezouce-codeception-mongodb-cleanstate/health.svg)

```
[![Health](https://phpackages.com/badges/rezouce-codeception-mongodb-cleanstate/health.svg)](https://phpackages.com/packages/rezouce-codeception-mongodb-cleanstate)
```

###  Alternatives

[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

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

A set of Codeception modules to test WordPress projects.

6424.1M182](/packages/lucatume-wp-browser)[codeception/lib-innerbrowser

Parent library for all Codeception framework modules and PhpBrowser

8744.5M89](/packages/codeception-lib-innerbrowser)[codeception/module-asserts

Codeception module containing various assertions

8654.0M1.5k](/packages/codeception-module-asserts)[allure-framework/allure-codeception

Allure Codeception integration

5212.7M9](/packages/allure-framework-allure-codeception)[codeception/module-symfony

Codeception module for Symfony framework

9610.1M143](/packages/codeception-module-symfony)

PHPackages © 2026

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