Doctrine 2 is an object-relational mapper (ORM) for PHP 7.1+ 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. As the term ORM already hints at, Doctrine ORM aims to simplify the translation between database rows and the PHP object model. The primary use case for Doctrine are therefore applications that utilize the Object-Oriented Programming Paradigm. For applications that do not primarily work with objects Doctrine ORM is not suited very well. Doctrine ORM requires a minimum of PHP 7.1. For greatly improved performance it is also recommended that you use APC with PHP.

Features

  • Doctrine ORM is divided into three main packages, Common, DBAL, and ORM
  • The Common package contains highly reusable components that have no dependencies beyond the package itself
  • The DBAL package contains an enhanced database abstraction layer on top of PDO but is not strongly bound to PDO
  • The ORM package contains the object-relational mapping toolkit that provides transparent relational persistence for plain PHP objects
  • The EntityManager class is a central access point to the functionality provided by Doctrine ORM
  • The EntityManager API is used to manage the persistence of your objects and to query for persistent objects

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Doctrine ORM

Doctrine ORM Web Site

Other Useful Business Software
Cut Cloud Costs with Google Compute Engine Icon
Cut Cloud Costs with Google Compute Engine

Save up to 91% with Spot VMs and get automatic sustained-use discounts. One free VM per month, plus $300 in credits.

Save on compute costs with Compute Engine. Reduce your batch jobs and workload bill 60-91% with Spot VMs. Compute Engine's committed use offers customers up to 70% savings through sustained use discounts. Plus, you get one free e2-micro VM monthly and $300 credit to start.
Try Compute Engine
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Doctrine ORM!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Object-Relational Mapping (ORM) Software

Registered

2021-06-30