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
SoftCo: Enterprise Invoice and P2P Automation Software Icon
SoftCo: Enterprise Invoice and P2P Automation Software

For companies that process over 20,000 invoices per year

SoftCo Accounts Payable Automation processes all PO and non-PO supplier invoices electronically from capture and matching through to invoice approval and query management. SoftCoAP delivers unparalleled touchless automation by embedding AI across matching, coding, routing, and exception handling to minimize the number of supplier invoices requiring manual intervention. The result is 89% processing savings, supported by a context-aware AI Assistant that helps users understand exceptions, answer questions, and take the right action faster.
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