Object-Relational-Mapper for PHP

Installs: 91 055 660

Dependents: 5 590

Suggesters: 412

Security: 3

Stars: 8 496

Watchers: 286

Forks: 2 310

Open Issues: 1 298

2.8.4 2021-04-05 18:38 UTC


3.0.x 2.9.x 2.8.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: