Object-Relational-Mapper for PHP

Installs: 256 452 221

Dependents: 6 974

Suggesters: 452

Security: 3

Stars: 10 090

Watchers: 246

Forks: 2 547

Open Issues: 1 279

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: