PHPackages                             doctrine/persistence - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. doctrine/persistence

ActiveLibrary[Database &amp; ORM](/categories/database)

doctrine/persistence
====================

The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.

4.1.1(7mo ago)4.1k286.5M—5.9%76[14 issues](https://github.com/doctrine/persistence/issues)[1 PRs](https://github.com/doctrine/persistence/pulls)20MITPHPPHP ^8.1CI passing

Since Jun 14Pushed 3w ago20 watchersCompare

[ Source](https://github.com/doctrine/persistence)[ Packagist](https://packagist.org/packages/doctrine/persistence)[ Docs](https://www.doctrine-project.org/projects/persistence.html)[ Fund](https://www.doctrine-project.org/sponsorship.html)[ Patreon](https://www.patreon.com/phpdoctrine)[ RSS](/packages/doctrine-persistence/feed)WikiDiscussions 4.2.x Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (62)Used By (20)

Doctrine Persistence
====================

[](#doctrine-persistence)

[![GitHub Actions](https://github.com/doctrine/persistence/actions/workflows/continuous-integration.yml/badge.svg?branch=4.2.x)](https://github.com/doctrine/persistence/actions/workflows/continuous-integration.yml?branch=4.2.x)[![Code Coverage](https://camo.githubusercontent.com/c7e7a58dfb7c2039930926aaf00c503af6d6378e37e3d402e19cac205514e07e/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f70657273697374656e63652f6272616e63682f342e322e782f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/persistence/branch/4.2.x)

The Doctrine Persistence project is a library that provides common abstractions for object mapper persistence.

More resources:
---------------

[](#more-resources)

- [Website](https://www.doctrine-project.org/)
- [Documentation](https://www.doctrine-project.org/projects/doctrine-persistence/en/latest/index.html)
- [Downloads](https://github.com/doctrine/persistence/releases)

###  Health Score

79

—

ExcellentBetter than 100% of packages

Maintenance82

Actively maintained with recent releases

Popularity83

Widely adopted with strong download metrics

Community55

Growing community involvement

Maturity85

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~46 days

Recently: every ~39 days

Total

62

Last Release

53d ago

Major Versions

2.5.7 → 3.2.02023-05-17

3.4.0 → 4.0.02024-11-01

3.4.2 → 4.1.12025-10-16

3.4.3 → 5.0.x-dev2026-01-25

3.4.x-dev → 4.2.x-dev2026-03-21

PHP version history (5 changes)v1.0.0PHP ^7.1

1.3.8PHP ^7.1 || ^8.0

3.0.0PHP ^7.2 || ^8.0

4.0.0PHP ^8.1

5.0.x-devPHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c4b569aa557436333fb02f55dfc0dacd6cb54c29820de24d9ad8a61cabb7716?d=identicon)[jwage](/maintainers/jwage)

---

Top Contributors

[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (361 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (123 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (61 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (59 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (51 commits)")[![alcaeus](https://avatars.githubusercontent.com/u/383198?v=4)](https://github.com/alcaeus "alcaeus (39 commits)")[![franmomu](https://avatars.githubusercontent.com/u/720690?v=4)](https://github.com/franmomu "franmomu (31 commits)")[![GromNaN](https://avatars.githubusercontent.com/u/400034?v=4)](https://github.com/GromNaN "GromNaN (26 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (24 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (24 commits)")[![malarzm](https://avatars.githubusercontent.com/u/4947711?v=4)](https://github.com/malarzm "malarzm (16 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (16 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (13 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (12 commits)")[![SenseException](https://avatars.githubusercontent.com/u/859964?v=4)](https://github.com/SenseException "SenseException (11 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (9 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (9 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (9 commits)")[![ondrejmirtes](https://avatars.githubusercontent.com/u/104888?v=4)](https://github.com/ondrejmirtes "ondrejmirtes (8 commits)")[![rela589n](https://avatars.githubusercontent.com/u/41589422?v=4)](https://github.com/rela589n "rela589n (7 commits)")

---

Tags

hacktoberfestpersistencepersistenceormobjectmapperodm

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/doctrine-persistence/health.svg)

```
[![Health](https://phpackages.com/badges/doctrine-persistence/health.svg)](https://phpackages.com/packages/doctrine-persistence)
```

###  Alternatives

[gedmo/doctrine-extensions

Doctrine behavioral extensions

4.1k118.8M366](/packages/gedmo-doctrine-extensions)[doctrine/mongodb-odm

PHP Doctrine MongoDB Object Document Mapper (ODM) provides transparent persistence for PHP objects to MongoDB.

1.1k23.3M302](/packages/doctrine-mongodb-odm)[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[doctrine/doctrine-bundle

Symfony DoctrineBundle

4.8k241.3M3.3k](/packages/doctrine-doctrine-bundle)[doctrine/phpcr-odm

PHP Doctrine Content Repository Object Document Mapper (ODM) provides transparent persistence for PHP objects.

1811.5M97](/packages/doctrine-phpcr-odm)[propel/propel

Propel2 is an open-source Object-Relational Mapping (ORM) for PHP.

1.3k5.3M110](/packages/propel-propel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
