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
Save up to 90% off rates for USPS, UPS, DHL Express, and more with the best multi-carrier shipping software for e-commerce businesses. Icon
Save up to 90% off rates for USPS, UPS, DHL Express, and more with the best multi-carrier shipping software for e-commerce businesses.

For Small / Medium E-Commerce Businesses

Whether you're established or just getting started, Shippo is the best shipping software for growing e-commerce brands that need to save time and money, fulfill and ship at scale, and delight customers. Create shipping labels for all carriers & save money with discounted rates. See all your online sales channels in one place and automatically access discounted USPS and DHL Express rates, or use your own carrier accounts. Sign up is free and there are no monthly fees or cancellation fees.
Learn More
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