Object-Relational-Mapper for PHP

Installs: 267 378 038

Dependents: 7 133

Suggesters: 456

Security: 3

Stars: 10 116

Watchers: 241

Forks: 2 551

Open Issues: 1 297

pkg:composer/doctrine/orm

3.5.7 2025-11-11 18:27 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: