Object-Relational-Mapper for PHP

Installs: 262 442 179

Dependents: 7 024

Suggesters: 451

Security: 3

Stars: 10 104

Watchers: 245

Forks: 2 549

Open Issues: 1 304

pkg:composer/doctrine/orm

3.5.2 2025-08-08 17:00 UTC

README

4.0.x 3.6.x 3.5.x 2.21.x 2.20.x
Build status Build status Build status Build status Build status
Coverage Status Coverage Status Coverage Status Coverage Status Coverage Status

Doctrine ORM is an object-relational mapper for PHP 8.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: