Doctrine

The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping. The core projects are the Object Relational Mapper (ORM) and the Database Abstraction Layer (DBAL) it is built upon.

Why use Doctrine?
  • Around since 2006 with very stable, high-quality codebase.
  • Extremely flexible and powerful object-mapping and query features.
  • Support for both high-level and low-level database programming for all your use-cases.
  • Large Community and integrations with many different frameworks (Symfony, Laravel, Zend Framework and more)
Who uses Doctrine?

Many other popular PHP projects use libraries from Doctrine. Some use the full ORM and others may only use one small library such as the Inflector. Here are some projects that use Doctrine.

Symfony Drupal Laravel
JMS Libraries Go! AOP KNP Labs
eZ Platform API Platform PrestaShop
PHPUnit Prophecy phpbench
TYPO3 Sonata Project Akeneo PIM
Pimcore Sylius and many more…
Want to support Doctrine?
Doctrine is an open source project made available for free under the MIT license. It is built by people who work on it for free in their spare time. Consider donating to the project to support the development team.
Get professional support for Doctrine ORM
Available as part of the Tidelift Subscription. It includes support for Doctrine ORM and many of the other open source packages you depend on. Here’s how it provides the professional assurances you need.
  • Security: Timely notifications and help addressing vulnerabilities
  • Maintenance: Assurance of ongoing high-quality maintenance into the future
  • Licensing: Legal assurances documenting license status and whether current usage is compatible
  • Comprehensive view: A clear way to understand all of your organization’s open source dependencies and better manage risk