doctrine/mongodb-odm
The Official PHP MongoDB ORM/ODM observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 5949
- days_rel: 55
- days_push: 8
- n_releases_24m: 28
Adoption not part of the score
1094 stars · 508 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Doctrine MongoDB ODM is the official PHP object document mapper for MongoDB, mapping PHP classes to MongoDB documents with support for embedded and referenced documents. It provides a query builder, aggregation framework support, schema and index management, GridFS file storage, and an event system.
Use cases
- map PHP objects to MongoDB documents
- persist a domain model in MongoDB from a PHP or Symfony app
- manage MongoDB indexes and schema from PHP code
- store large files in MongoDB with GridFS
- build complex MongoDB queries with a fluent query builder
- mix SQL and MongoDB data with Doctrine ORM integration
When to choose
- you build PHP or Symfony applications backed by MongoDB and want an object-oriented data layer
- you want document mapping, repositories, and lifecycle events instead of raw driver code
- you need GridFS file storage or aggregation pipelines from PHP objects
When to avoid
- you use a relational database and need Doctrine ORM instead
- you prefer lightweight raw MongoDB driver access without mapping overhead
- your project is not PHP
Facets
library · maturity active
orm database-driver database databases backend web-development php mongodb odm doctrine symfony gridfs data-mapping web-server
5 sources
- readme: https://github.com/doctrine/mongodb-odm · fetched 2026-08-28 · e8c5aa82d099
- homepage: https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/ · fetched 2026-08-29 · 11f5ea97b4db
- site_page: https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/tutorials/getting-started.html · fetched 2026-08-29 · ff4a3a8ed25b
- site_page: https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/introduction.html · fetched 2026-08-29 · 96796297ed0a
- site_page: https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/storing-files-with-gridfs.html · fetched 2026-08-29 · c02f494ab9cf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| doctrine/mongodb-odm | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="doctrine/mongodb-odm")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem