PHPackages                             codeception/module-mongodb - 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. [Database &amp; ORM](/categories/database)
4. /
5. codeception/module-mongodb

ActiveLibrary[Database &amp; ORM](/categories/database)

codeception/module-mongodb
==========================

MongoDB module for Codeception

3.1.0(4mo ago)2676.0k↓12%11[5 issues](https://github.com/Codeception/module-mongodb/issues)1MITPHPPHP ^8.2CI passing

Since Oct 10Pushed 4mo ago5 watchersCompare

[ Source](https://github.com/Codeception/module-mongodb)[ Packagist](https://packagist.org/packages/codeception/module-mongodb)[ Docs](https://codeception.com/)[ RSS](/packages/codeception-module-mongodb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (1)

Codeception Module MongoDB
==========================

[](#codeception-module-mongodb)

A MongoDB module for Codeception.

[![Actions Status](https://github.com/Codeception/module-mongodb/workflows/CI/badge.svg)](https://github.com/Codeception/module-mongodb/actions)[![Latest Stable Version](https://camo.githubusercontent.com/ddc63da2d8110e0d12ee7123a6d587b27802d0c2c7a2d816f845b696db9c5473/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f6d6f64756c652d6d6f6e676f64622f762f737461626c65)](https://github.com/Codeception/module-mongodb/releases)[![Total Downloads](https://camo.githubusercontent.com/9b6ee3071fa8d2489248660a132eff9d9264bb1a09bc68576b953af1044c6bc4/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f6d6f64756c652d6d6f6e676f64622f646f776e6c6f616473)](https://packagist.org/packages/codeception/module-mongodb)[![License](https://camo.githubusercontent.com/eab28d7decae79cc527aa99609f4655078f34d460fd408dfb3e1bcfe7c56fb49/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f6d6f64756c652d6d6f6e676f64622f6c6963656e7365)](/LICENSE)

Installation
------------

[](#installation)

```
composer require "codeception/module-mongodb" --dev

```

Requirements
------------

[](#requirements)

- `PHP 8.2` or higher.

Documentation
-------------

[](#documentation)

See [the module documentation](https://codeception.com/docs/modules/MongoDb).

[Changelog](https://github.com/Codeception/module-mongodb/releases)

License
-------

[](#license)

`Codeception Module MongoDB` is open-sourced software licensed under the [MIT](/LICENSE) License.

© Codeception PHP Testing Framework

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance56

Moderate activity, may be stable

Popularity43

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity75

Established project with proven stability

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

Recently: every ~527 days

Total

6

Last Release

129d ago

Major Versions

1.1.1 → 2.0.02021-11-30

2.0.0 → 3.0.02022-05-27

PHP version history (5 changes)1.0.0PHP &gt;=5.6.0 &lt;8.0

1.1.1PHP &gt;=5.6.0 &lt;9.0

2.0.0PHP ^7.4 || ^8.0

3.0.0PHP ^8.0

3.1.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/395992?v=4)[Gintautas Miselis](/maintainers/Naktibalda)[@Naktibalda](https://github.com/Naktibalda)

---

Top Contributors

[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (33 commits)")[![Naktibalda](https://avatars.githubusercontent.com/u/395992?v=4)](https://github.com/Naktibalda "Naktibalda (17 commits)")[![antoniofrignani](https://avatars.githubusercontent.com/u/802713?v=4)](https://github.com/antoniofrignani "antoniofrignani (8 commits)")[![retnek](https://avatars.githubusercontent.com/u/1765261?v=4)](https://github.com/retnek "retnek (5 commits)")[![TavoNiievez](https://avatars.githubusercontent.com/u/64917965?v=4)](https://github.com/TavoNiievez "TavoNiievez (4 commits)")[![clarkeash](https://avatars.githubusercontent.com/u/1612186?v=4)](https://github.com/clarkeash "clarkeash (2 commits)")[![tiger-seo](https://avatars.githubusercontent.com/u/398720?v=4)](https://github.com/tiger-seo "tiger-seo (2 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (2 commits)")[![hlogeon](https://avatars.githubusercontent.com/u/3944669?v=4)](https://github.com/hlogeon "hlogeon (2 commits)")[![MAXakaWIZARD](https://avatars.githubusercontent.com/u/1138453?v=4)](https://github.com/MAXakaWIZARD "MAXakaWIZARD (1 commits)")[![MontealegreLuis](https://avatars.githubusercontent.com/u/3099338?v=4)](https://github.com/MontealegreLuis "MontealegreLuis (1 commits)")[![nicklasos](https://avatars.githubusercontent.com/u/275401?v=4)](https://github.com/nicklasos "nicklasos (1 commits)")[![pbromb](https://avatars.githubusercontent.com/u/16881418?v=4)](https://github.com/pbromb "pbromb (1 commits)")[![PhoenixShin](https://avatars.githubusercontent.com/u/11782469?v=4)](https://github.com/PhoenixShin "PhoenixShin (1 commits)")[![phpcodemonkey](https://avatars.githubusercontent.com/u/1893912?v=4)](https://github.com/phpcodemonkey "phpcodemonkey (1 commits)")[![W0rma](https://avatars.githubusercontent.com/u/20659830?v=4)](https://github.com/W0rma "W0rma (1 commits)")[![zbateson](https://avatars.githubusercontent.com/u/8356974?v=4)](https://github.com/zbateson "zbateson (1 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (1 commits)")[![astepin](https://avatars.githubusercontent.com/u/297617?v=4)](https://github.com/astepin "astepin (1 commits)")[![eXorus](https://avatars.githubusercontent.com/u/1255561?v=4)](https://github.com/eXorus "eXorus (1 commits)")

---

Tags

codeceptionmongodb

### Embed Badge

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

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

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[doctrine/mongodb-odm

PHP Doctrine MongoDB Object Document Mapper (ODM) provides transparent persistence for PHP objects to MongoDB.

1.1k23.3M302](/packages/doctrine-mongodb-odm)[alcaeus/mongo-php-adapter

Adapter to provide ext-mongo interface on top of mongo-php-library

46412.3M73](/packages/alcaeus-mongo-php-adapter)[codeception/module-db

DB module for Codeception

2320.9M231](/packages/codeception-module-db)[moloquent/moloquent

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

120114.6k7](/packages/moloquent-moloquent)[doesntmattr/mongodb-migrations

Managed Database Migrations for MongoDB

23598.7k1](/packages/doesntmattr-mongodb-migrations)

PHPackages © 2026

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