Symfony Doctrine MongoDB Bundle

Installs: 13 203 873

Dependents: 224

Suggesters: 129

Security: 1

Stars: 377

Watchers: 41

Forks: 231

Open Issues: 18


5.0.1 2024-01-16 11:03 UTC



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.


The current version of this bundle has the following requirements:

  • PHP 8.1 or newer is required
  • ext-mongodb 1.5 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.