Object-Relational-Mapper for PHP

Installs: 272 592 117

Dependents: 7 192

Suggesters: 460

Security: 3

Stars: 10 149

Watchers: 242

Forks: 2 549

Open Issues: 1 295

pkg:composer/doctrine/orm

3.6.0 2025-12-19 20:36 UTC

README

4.0.x 3.7.x 3.6.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: