Doctrine (PHP)

Doctrine
Stable release
2.11.2
Repository
Written inPHP
Operating systemCross-platform
TypeObject–relational mapping framework
LicenseMIT
Websitewww.doctrine-project.org Edit this at Wikidata

The Doctrine Project (or Doctrine) is a set of PHP libraries primarily focused on providing persistence services and related functionality. Its most commonly known[according to whom?] projects are the object–relational mapper (ORM) and the database abstraction layer it is built on top of.

One of Doctrine's key features is the option to write database queries in Doctrine Query Language (DQL), an object-oriented dialect of SQL.

Developers of two major PHP frameworks, Symfony and Laminas have official out-of-the-box support for Doctrine, while 3rd party Doctrine packages are available for Laravel, CodeIgniter and others.