Object-Relational-Mapper for PHP

Installs: 114 745 989

Dependents: 5 792

Suggesters: 401

Security: 3

Stars: 9 049

Watchers: 273

Forks: 2 379

Open Issues: 1 389

2.11.0 2022-01-12 13:20 UTC


3.0.x 2.12.x 2.11.x
Build status Build status Build status
Coverage Status Coverage Status Coverage Status

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: