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

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

doctrine/doctrine-mongo-odm-module
==================================

Laminas Module which provides Doctrine MongoDB ODM functionality

5.3.0(1y ago)87689.5k↓38.2%81[1 PRs](https://github.com/doctrine/DoctrineMongoODMModule/pulls)20MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0CI failing

Since Oct 12Pushed 2w ago16 watchersCompare

[ Source](https://github.com/doctrine/DoctrineMongoODMModule)[ Packagist](https://packagist.org/packages/doctrine/doctrine-mongo-odm-module)[ Docs](https://www.doctrine-project.org/)[ Fund](https://www.doctrine-project.org/sponsorship.html)[ Patreon](https://www.patreon.com/phpdoctrine)[ RSS](/packages/doctrine-doctrine-mongo-odm-module/feed)WikiDiscussions 5.4.x Synced 2d ago

READMEChangelog (10)Dependencies (21)Versions (57)Used By (20)

Doctrine MongoDB ODM Module for Laminas
=======================================

[](#doctrine-mongodb-odm-module-for-laminas)

[![Build Status](https://github.com/doctrine/DoctrineMongoODMModule/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/doctrine/DoctrineMongoODMModule/actions/workflows/continuous-integration.yml)[![Code Coverage](https://camo.githubusercontent.com/d10d820ec7194cd8f375014522d95574961520d26f8d91bf886ff00b64f6d3bf/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f446f637472696e654d6f6e676f4f444d4d6f64756c652f6772617068732f62616467652e737667)](https://app.codecov.io/gh/doctrine/DoctrineMongoODMModule)[![Latest Stable Version](https://camo.githubusercontent.com/164781d886199b102a5defc10630cc4d03a0220fb59c6059a3ffed3ca43ec087/68747470733a2f2f706f7365722e707567782e6f72672f646f637472696e652f646f637472696e652d6d6f6e676f2d6f646d2d6d6f64756c652f76)](https://packagist.org/packages/doctrine/doctrine-mongo-odm-module)[![Total Downloads](https://camo.githubusercontent.com/b5e408a413f1e17922cc13befb807e63f3aeba1fc48592f6b8dd5c4dcd0c5121/68747470733a2f2f706f7365722e707567782e6f72672f646f637472696e652f646f637472696e652d6d6f6e676f2d6f646d2d6d6f64756c652f646f776e6c6f616473)](https://packagist.org/packages/doctrine/doctrine-mongo-odm-module)

The DoctrineMongoODMModule leverages [DoctrineModule](https://github.com/doctrine/DoctrineModule/) and integrates [Doctrine MongoDB ODM](https://github.com/doctrine/mongodb-odm) with [Laminas](https://getlaminas.org/) quickly and easily. The following features are intended to work out of the box:

- MongoDB support
- Multiple document managers
- Multiple connections
- Support for using existing `Mongo` connections
- Doctrine CLI support

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

[](#installation)

Run the following to install this library using [Composer](https://getcomposer.org/):

```
composer require doctrine/doctrine-mongo-odm-module
```

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

[](#documentation)

Please check the [documentation on the Doctrine website](https://www.doctrine-project.org/projects/doctrine-mongo-odm-module.html)for more detailed information on features provided by this component. The source files for the documentation can be found in the [docs directory](./docs/en).

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance72

Regular maintenance activity

Popularity54

Moderate usage in the ecosystem

Community45

Growing community involvement

Maturity94

Battle-tested with a long release history

 Bus Factor3

3 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 ~81 days

Recently: every ~7 days

Total

56

Last Release

522d ago

Major Versions

0.11.0 → 1.0.02017-05-13

1.1.x-dev → 2.0.02020-04-06

2.0.x-dev → 3.0.02020-10-27

3.2.x-dev → 4.0.02022-01-04

4.3.0 → 5.0.02023-08-03

PHP version history (14 changes)0.1.0PHP &gt;=5.3.3

0.9.0PHP &gt;=5.4

0.10.0PHP ~5.5 || ~7.0

0.11.0PHP ^5.6 || ^7.0

1.1.0PHP ^7.1

2.0.0PHP ^7.2

3.1.0PHP ^7.3 || ~8.0.0

3.2.0PHP ^7.3 || ~8.0.0 || ~8.1.0

4.0.0PHP ^7.4 || ~8.0.0 || ~8.1.0

4.3.x-devPHP ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0

5.0.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

5.1.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

5.2.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

5.3.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/892698bb1d3f6dae0e3a44abe3e26920ddb4eb000c6c583c87b4db5e5027e166?d=identicon)[beberlei](/maintainers/beberlei)

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

---

Top Contributors

[![driehle](https://avatars.githubusercontent.com/u/1586788?v=4)](https://github.com/driehle "driehle (164 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (78 commits)")[![TomHAnderson](https://avatars.githubusercontent.com/u/493920?v=4)](https://github.com/TomHAnderson "TomHAnderson (68 commits)")[![superdweebie](https://avatars.githubusercontent.com/u/1670364?v=4)](https://github.com/superdweebie "superdweebie (43 commits)")[![alcaeus](https://avatars.githubusercontent.com/u/383198?v=4)](https://github.com/alcaeus "alcaeus (26 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (24 commits)")[![rieschl](https://avatars.githubusercontent.com/u/3321556?v=4)](https://github.com/rieschl "rieschl (15 commits)")[![jhuet](https://avatars.githubusercontent.com/u/372409?v=4)](https://github.com/jhuet "jhuet (13 commits)")[![fabiocarneiro](https://avatars.githubusercontent.com/u/1375034?v=4)](https://github.com/fabiocarneiro "fabiocarneiro (8 commits)")[![michaelmoussa](https://avatars.githubusercontent.com/u/183833?v=4)](https://github.com/michaelmoussa "michaelmoussa (7 commits)")[![romankonz](https://avatars.githubusercontent.com/u/2287271?v=4)](https://github.com/romankonz "romankonz (7 commits)")[![MidnightDesign](https://avatars.githubusercontent.com/u/743172?v=4)](https://github.com/MidnightDesign "MidnightDesign (5 commits)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (5 commits)")[![Bilge](https://avatars.githubusercontent.com/u/470626?v=4)](https://github.com/Bilge "Bilge (5 commits)")[![gianarb](https://avatars.githubusercontent.com/u/1630267?v=4)](https://github.com/gianarb "gianarb (4 commits)")[![adamh114](https://avatars.githubusercontent.com/u/661106?v=4)](https://github.com/adamh114 "adamh114 (4 commits)")[![malarzm](https://avatars.githubusercontent.com/u/4947711?v=4)](https://github.com/malarzm "malarzm (3 commits)")[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (3 commits)")[![JaepilCyan](https://avatars.githubusercontent.com/u/1256683?v=4)](https://github.com/JaepilCyan "JaepilCyan (3 commits)")[![vbarinov](https://avatars.githubusercontent.com/u/1442435?v=4)](https://github.com/vbarinov "vbarinov (2 commits)")

---

Tags

doctrinehacktoberfestlaminasmongoodmlaminasdoctrineodmmongodbmodule

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/doctrine-doctrine-mongo-odm-module/health.svg)

```
[![Health](https://phpackages.com/badges/doctrine-doctrine-mongo-odm-module/health.svg)](https://phpackages.com/packages/doctrine-doctrine-mongo-odm-module)
```

###  Alternatives

[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4567.6M299](/packages/doctrine-doctrine-orm-module)[magento/community-edition

Magento 2 (Open Source)

12.2k53.6k13](/packages/magento-community-edition)[doctrine/doctrine-module

Laminas Module that provides Doctrine basic functionality required for ORM and ODM modules

4048.2M122](/packages/doctrine-doctrine-module)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[doctrine/mongodb-odm

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

1.1k24.5M359](/packages/doctrine-mongodb-odm)

PHPackages © 2026

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