Object-Relational-Mapper for PHP

Installs: 36 588 301

Dependents: 4 273

Suggesters: 299

Stars: 4 864

Watchers: 316

Forks: 1 968

Open Issues: 1 179

v2.6.1 2018-02-27 07:30 UTC

README

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: