Object-Relational-Mapper for PHP

Installs: 38 703 899

Dependents: 4 377

Suggesters: 305

Stars: 5 085

Watchers: 316

Forks: 1 984

Open Issues: 1 157

v2.6.2 2018-07-12 20:47 UTC


Master 2.7 2.6 2.5
Build status Build status Build status Build status
Coverage Status Coverage Status Coverage Status Coverage Status
⚠️ You are browsing the code of upcoming Doctrine 3.0.
Things changed a lot here and major code changes should be expected. If you are rather looking for a stable version, refer to the 2.6 branch for the current stable release or 2.7 branch for the upcoming release. If you are submitting a pull request, please see the Which branch should I choose? section below.

Doctrine 3 is an object-relational mapper (ORM) for PHP 7.2+ 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.

Which branch should I choose?

More resources: