doctrine/mongodb-odm-bundle

Symfony Doctrine MongoDB Bundle

Maintainers

Package info

github.com/doctrine/DoctrineMongoDBBundle

Homepage

Type:symfony-bundle

pkg:composer/doctrine/mongodb-odm-bundle

Statistics

Installs: 18 432 669

Dependents: 224

Suggesters: 131

Stars: 385

Open Issues: 14

5.6.0 2026-01-26 10:21 UTC

README

This bundle integrates the Doctrine2 MongoDB Object Document Mapper (ODM) library into Symfony so that you can persist and retrieve objects to and from MongoDB.

Build Status

Documentation on how to install and use this bundle is available in the Symfony documentation.

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.