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
99.99% Uptime for MySQL and PostgreSQL on Google Cloud Icon
99.99% Uptime for MySQL and PostgreSQL on Google Cloud

Enterprise Plus edition delivers sub-second maintenance downtime and 2x read/write performance. Built for critical apps.

Cloud SQL Enterprise Plus gives you a 99.99% availability SLA with near-zero downtime maintenance—typically under 10 seconds. Get 2x better read/write performance, intelligent data caching, and 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server with built-in vector search for gen AI apps. New customers get $300 in free credit.
Try Cloud SQL Free
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