PHPackages                             doctrine/mongodb-odm-bundle - 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/mongodb-odm-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

doctrine/mongodb-odm-bundle
===========================

Symfony Doctrine MongoDB Bundle

5.6.0(5mo ago)38919.7M↓33.7%229[12 issues](https://github.com/doctrine/DoctrineMongoDBBundle/issues)[3 PRs](https://github.com/doctrine/DoctrineMongoDBBundle/pulls)20MITPHPPHP ^8.1CI passing

Since Nov 16Pushed 4d ago34 watchersCompare

[ Source](https://github.com/doctrine/DoctrineMongoDBBundle)[ Packagist](https://packagist.org/packages/doctrine/mongodb-odm-bundle)[ Docs](http://www.doctrine-project.org)[ RSS](/packages/doctrine-mongodb-odm-bundle/feed)WikiDiscussions 5.7.x Synced 3d ago

READMEChangelog (10)Dependencies (25)Versions (86)Used By (20)Security (1)

DoctrineMongoDBBundle
=====================

[](#doctrinemongodbbundle)

This bundle integrates the [Doctrine2 MongoDB Object Document Mapper (ODM) library](https://github.com/doctrine/mongodb-odm)into Symfony so that you can persist and retrieve objects to and from MongoDB.

[![Build Status](https://github.com/doctrine/DoctrineMongoDBBundle/workflows/Continuous%20Integration/badge.svg)](https://github.com/doctrine/DoctrineMongoDBBundle/actions)

Documentation on how to install and use this bundle is available in the Symfony [documentation](http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html).

Compatibility
=============

[](#compatibility)

The current version of this bundle has the following requirements:

- PHP 8.1 or newer is required
- `ext-mongodb` 1.21 or newer
- Symfony 6.4 or newer is required

Support for older Symfony, PHP and MongoDB versions is provided via the `4.7.x`releases (tracked in the `4.7.x` branch). This version sees bug and security fixes only.

###  Health Score

77

—

ExcellentBetter than 100% of packages

Maintenance87

Actively maintained with recent releases

Popularity70

Solid adoption and visibility

Community56

Growing community involvement

Maturity87

Battle-tested with a long release history

 Bus Factor4

4 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 ~65 days

Recently: every ~40 days

Total

82

Last Release

4d ago

Major Versions

3.6.0-RC1 → 4.0.0-RC12019-06-06

3.6.0 → 4.0.0-RC22019-09-24

3.6.1 → 4.0.02019-10-02

3.6.2 → 4.1.12020-03-22

4.7.0 → 5.0.02023-12-22

PHP version history (7 changes)v2.0.1PHP &gt;=5.3.2

3.1.0PHP ^5.5 || ^7.0

3.2.0PHP ^5.6 || ^7.0

4.0.0-alpha1PHP ^7.2

4.3.0PHP ^7.2 || ^8.0

4.6.0PHP ^7.4 || ^8.0

4.7.x-devPHP ^8.1

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/400034?v=4)[Jérôme Tamarelle](/maintainers/GromNaN)[@GromNaN](https://github.com/GromNaN)

![](https://avatars.githubusercontent.com/u/383198?v=4)[Andreas Braun](/maintainers/alcaeus)[@alcaeus](https://github.com/alcaeus)

![](https://www.gravatar.com/avatar/49096f4052ca788ddf49c82e835125294f460f155885aa3e1ada8c3ff4f4a648?d=identicon)[jmikola](/maintainers/jmikola)

---

Top Contributors

[![alcaeus](https://avatars.githubusercontent.com/u/383198?v=4)](https://github.com/alcaeus "alcaeus (236 commits)")[![malarzm](https://avatars.githubusercontent.com/u/4947711?v=4)](https://github.com/malarzm "malarzm (194 commits)")[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (193 commits)")[![franmomu](https://avatars.githubusercontent.com/u/720690?v=4)](https://github.com/franmomu "franmomu (107 commits)")[![GromNaN](https://avatars.githubusercontent.com/u/400034?v=4)](https://github.com/GromNaN "GromNaN (97 commits)")[![kriswallsmith](https://avatars.githubusercontent.com/u/33886?v=4)](https://github.com/kriswallsmith "kriswallsmith (95 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (78 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (62 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (45 commits)")[![IonBazan](https://avatars.githubusercontent.com/u/1985514?v=4)](https://github.com/IonBazan "IonBazan (34 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (34 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (32 commits)")[![weaverryan](https://avatars.githubusercontent.com/u/121003?v=4)](https://github.com/weaverryan "weaverryan (26 commits)")[![ornicar](https://avatars.githubusercontent.com/u/140370?v=4)](https://github.com/ornicar "ornicar (19 commits)")[![SzymonKaminski](https://avatars.githubusercontent.com/u/8536735?v=4)](https://github.com/SzymonKaminski "SzymonKaminski (16 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (16 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (16 commits)")[![avalanche123](https://avatars.githubusercontent.com/u/83289?v=4)](https://github.com/avalanche123 "avalanche123 (14 commits)")[![bamarni](https://avatars.githubusercontent.com/u/1205386?v=4)](https://github.com/bamarni "bamarni (13 commits)")[![vicb](https://avatars.githubusercontent.com/u/248818?v=4)](https://github.com/vicb "vicb (11 commits)")

---

Tags

doctrine-odmmongodbsymfonysymfony-bundlesymfonypersistencemongodb

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/doctrine-mongodb-odm-bundle/health.svg)

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

###  Alternatives

[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M739](/packages/sylius-sylius)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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