doctrine/persistence
The Doctrine Persistence project is a library that provides common abstractions for object mapper persistence. observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 88
- Release rhythm 89
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 3010
- days_rel: 76
- days_push: 76
- n_releases_24m: 12
Adoption not part of the score
4045 stars · 74 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Doctrine Persistence is a PHP library providing common interfaces and abstractions shared by Doctrine's object mappers (ORM, ODM, etc.). It defines contracts for object managers, repositories, and persistence operations rather than implementing storage itself.
Use cases
- decouple application code from a specific Doctrine object mapper implementation
- type-hint against stable persistence interfaces in PHP libraries
- build custom object mappers compatible with the Doctrine ecosystem
- swap between Doctrine ORM and MongoDB ODM without changing persistence code
- write framework integrations that support any Doctrine mapper
When to choose
- you are building a PHP library that should work with any Doctrine object mapper
- you need stable interfaces for object persistence instead of concrete ORM dependencies
- you are developing a custom Doctrine-compatible mapper or integration
When to avoid
- you need an actual working ORM with query building and database drivers - use Doctrine ORM instead
- your project does not use Doctrine or its ecosystem
- you want a standalone persistence solution with no Doctrine dependency
Facets
library · maturity stable
orm database serialization sdk databases developer-tools backend php cross-platform persistence object-mapper interfaces doctrine abstraction-layer php
10 sources
- readme: https://github.com/doctrine/persistence · fetched 2026-08-28 · 6269103dab77
- homepage: https://www.doctrine-project.org/projects/persistence.html · fetched 2026-08-29 · 01d7e2dd1bd2
- site_page: https://www.doctrine-project.org/projects/doctrine-persistence/en/4.2/index.html · fetched 2026-08-29 · 654196f434c1
- site_page: https://www.doctrine-project.org/projects/doctrine-persistence/en/latest/index.html · fetched 2026-08-29 · d99051b4994d
- site_page: https://www.doctrine-project.org/projects/doctrine-persistence/en/4.3/index.html · fetched 2026-08-29 · dd27dc120560
- site_page: https://www.doctrine-project.org/projects/doctrine-persistence/en/4.1/index.html · fetched 2026-08-29 · f96b75a2db8e
- site_page: https://www.doctrine-project.org/projects/doctrine-persistence/en/4.0/index.html · fetched 2026-08-29 · 64894b900d58
- site_page: https://www.doctrine-project.org/projects/doctrine-persistence/en/3.4/index.html · fetched 2026-08-29 · 7f529dc81070
- site_page: https://www.doctrine-project.org/projects/doctrine-persistence/en/3.3/index.html · fetched 2026-08-29 · 6a6cc81f1490
- site_page: https://www.doctrine-project.org/projects/doctrine-persistence/en/3.2/index.html · fetched 2026-08-29 · 904abe24191e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| doctrine/persistence | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="doctrine/persistence")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem