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.

Featured Partner
Tideways

Your mission control center for PHP application performance. Tideways saves you time by taking the guesswork out of your app's backend performance....

View More
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, Laminas 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 Shopware
Oxid eShop Contao 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.
Doctrine ORM for enterprise
Available as part of the Tidelift Subscription .

Tidelift is working with the maintainers of Doctrine ORM and thousands of other open source projects to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use.

Enterprise-ready open source software—managed for you.

The Tidelift Subscription is a managed open source subscription for application dependencies covering millions of open source projects across JavaScript, Python, Java, PHP, Ruby, .NET, and more.

Your subscription includes:

  • Security updates: Tidelift’s security response team coordinates patches for new breaking security vulnerabilities and alerts immediately through a private channel, so your software supply chain is always secure.
  • Licensing verification and indemnification: Tidelift verifies license information to enable easy policy enforcement and adds intellectual property indemnification to cover creators and users in case something goes wrong. You always have a 100% up-to-date bill of materials for your dependencies to share with your legal team, customers, or partners.
  • Maintenance and code improvement: Tidelift ensures the software you rely on keeps working as long as you need it to work. Your managed dependencies are actively maintained and we recruit additional maintainers where required.
  • Package selection and version guidance: We help you choose the best open source packages from the start—and then guide you through updates to stay on the best releases as new issues arise.
  • Roadmap input: Take a seat at the table with the creators behind the software you use. Tidelift’s participating maintainers earn more income as their software is used by more subscribers, so they’re interested in knowing what you need.
  • Tooling and cloud integration: Tidelift works with GitHub, GitLab, BitBucket, and more. We support every cloud platform (and other deployment targets, too).