Doctrine is an object relational mapper built for PHP that allows developers to persist objects to a database. It is primarily based on Hibernate and influenced by ActiveRecord. Doctrine makes difficult database problems easier and saves developers money by providing an abstraction layer between PHP code and SQL databases. However, it will not solve all problems or world hunger.