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 ob