Object-Relational-Mapper for PHP

Installs: 84 421 820

Dependents: 5 453

Suggesters: 406

Security: 2

Stars: 8 277

Watchers: 288

Forks: 2 261

Open Issues: 1 292

2.8.1 2020-12-04 19:53 UTC


Master 2.8.x
Build status Build 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: