PHPackages                             codelegance/doctrine-orm - 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. codelegance/doctrine-orm

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

codelegance/doctrine-orm
========================

Object-Relational-Mapper for PHP

2.9.4(4y ago)026MITPHPPHP ^7.1 ||^8.0

Since Nov 21Pushed 4y agoCompare

[ Source](https://github.com/Codelegance/orm)[ Packagist](https://packagist.org/packages/codelegance/doctrine-orm)[ Docs](https://www.doctrine-project.org/projects/orm.html)[ RSS](/packages/codelegance-doctrine-orm/feed)WikiDiscussions 2.9.x Synced 1w ago

READMEChangelogDependencies (22)Versions (108)Used By (0)

[3.0.x](https://github.com/doctrine/orm/tree/3.0.x)[2.9.x](https://github.com/doctrine/orm/tree/2.9.x)[2.8.x](https://github.com/doctrine/orm/tree/2.8)[![Build status](https://github.com/doctrine/orm/actions/workflows/continuous-integration.yml/badge.svg?branch=3.0.x)](https://github.com/doctrine/orm/tree/3.0.x)[![Build status](https://github.com/doctrine/orm/actions/workflows/continuous-integration.yml/badge.svg?branch=2.9.x)](https://github.com/doctrine/orm/tree/2.9.x)[![Build status](https://github.com/doctrine/orm/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/doctrine/orm/tree/2.8)[![Coverage Status](https://camo.githubusercontent.com/7a8df96c4e62867486b235fe6d7442d2f1bef0b6ae09b37ce76556216f51e66e/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6f726d2f6272616e63682f332e302e782f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/orm/branch/3.0.x)[![Coverage Status](https://camo.githubusercontent.com/fcf744461d523a6c55c70491a07c7d6ccd4a56a98480893f393b2d2e6e96ddd5/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6f726d2f6272616e63682f322e392e782f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/orm/branch/2.9.x)[![Coverage Status](https://camo.githubusercontent.com/81334cbe0edf4abc53c77854d03e131ff037a3289dcd94a7187715b0e3e501d2/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6f726d2f6272616e63682f322e382e782f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/orm/branch/2.8.x)Doctrine 2 is an object-relational mapper (ORM) for PHP 7.1+ that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernate's HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

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

[](#more-resources)

- [Website](http://www.doctrine-project.org)
- [Documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/latest/index.html)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community19

Small or concentrated contributor base

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 ~37 days

Recently: every ~1 days

Total

95

Last Release

1733d ago

Major Versions

2.9.3 → 3.0.x-dev2021-08-11

PHP version history (6 changes)2.1.3PHP &gt;=5.3.2

v2.5.0-alpha1PHP &gt;=5.4

v2.6.0PHP ^7.1

2.8.0PHP ^7.2|^8.0

2.9.0PHP ^7.1|^8.0

3.0.x-devPHP ^7.1 ||^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/470626?v=4)[Bilge](/maintainers/Bilge)[@Bilge](https://github.com/Bilge)

---

Top Contributors

[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (1766 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (1383 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (592 commits)")[![FabioBatSilva](https://avatars.githubusercontent.com/u/588172?v=4)](https://github.com/FabioBatSilva "FabioBatSilva (314 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (293 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (247 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (123 commits)")[![romanb](https://avatars.githubusercontent.com/u/177309?v=4)](https://github.com/romanb "romanb (108 commits)")[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (104 commits)")[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (74 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (53 commits)")[![deeky666](https://avatars.githubusercontent.com/u/1411514?v=4)](https://github.com/deeky666 "deeky666 (50 commits)")[![bakura10](https://avatars.githubusercontent.com/u/1198915?v=4)](https://github.com/bakura10 "bakura10 (45 commits)")[![Jean85](https://avatars.githubusercontent.com/u/6729988?v=4)](https://github.com/Jean85 "Jean85 (35 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (35 commits)")[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (27 commits)")[![mnapoli](https://avatars.githubusercontent.com/u/720328?v=4)](https://github.com/mnapoli "mnapoli (27 commits)")[![SenseException](https://avatars.githubusercontent.com/u/859964?v=4)](https://github.com/SenseException "SenseException (26 commits)")[![alcaeus](https://avatars.githubusercontent.com/u/383198?v=4)](https://github.com/alcaeus "alcaeus (25 commits)")[![ReenExe](https://avatars.githubusercontent.com/u/10358615?v=4)](https://github.com/ReenExe "ReenExe (25 commits)")

---

Tags

databaseorm

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

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

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[doctrine/doctrine-bundle

Symfony DoctrineBundle

4.8k241.3M3.3k](/packages/doctrine-doctrine-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[doctrine/phpcr-odm

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

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

PHPackages © 2026

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