Symfony Doctrine MongoDB Bundle

Installs: 11 088 557

Dependents: 220

Suggesters: 127

Security: 1

Stars: 377

Watchers: 38

Forks: 231

Open Issues: 20


4.6.0 2023-07-26 13:41 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 7.4 or newer is required
  • ext-mongodb 1.5 or newer
  • Symfony 5.4 or newer is required

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