Object-Relational-Mapper for PHP

Installs: 103 524 789

Dependents: 5 622

Suggesters: 397

Security: 3

Stars: 8 774

Watchers: 282

Forks: 2 332

Open Issues: 1 340

2.9.5 2021-08-23 10:20 UTC


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