doctrine/DoctrineBundle

Symfony Bundle for Doctrine ORM and DBAL

PHP

4,831

2,792 commits

updated Oct 11, 2026

See the code

README

Doctrine Bundle

Doctrine DBAL & ORM Bundle for the Symfony Framework.

Continuous Integration codecov

What is Doctrine?

The Doctrine Project is the home of a selected set of PHP libraries primarily focused on providing persistence services and related functionality. Its prize projects are a Object Relational Mapper and the Database Abstraction Layer it is built on top of. You can read more about the projects below or view a list of all projects.

Object relational mapper (ORM) for PHP that 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 Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

DBAL is a powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.

Documentation

The documentation is rendered on the symfony.com website. The source of the documentation is available in the docs folder.

bundle
doctrine
symfony
symfony-bundle

doctrine/DoctrineBundle

Symfony Bundle for Doctrine ORM and DBAL

PHP

4,831

2,792 commits

updated Oct 11, 2026

See the code

README

Doctrine Bundle

Doctrine DBAL & ORM Bundle for the Symfony Framework.

Continuous Integration codecov

What is Doctrine?

The Doctrine Project is the home of a selected set of PHP libraries primarily focused on providing persistence services and related functionality. Its prize projects are a Object Relational Mapper and the Database Abstraction Layer it is built on top of. You can read more about the projects below or view a list of all projects.

Object relational mapper (ORM) for PHP that 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 Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

DBAL is a powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.

Documentation

The documentation is rendered on the symfony.com website. The source of the documentation is available in the docs folder.

bundle
doctrine
symfony
symfony-bundle

Project health

Overall

5.9/10

Maintained

10/10

Code review

4/10
OpenSSF Scorecard

Significant stargazers

Carl Schwan

114 followers · starred Jun 2018

Derick Rethans

1,840 followers · starred Feb 2021

Christian Schmidt

30 followers · starred Dec 2015

Sébastien Lavoie

93 followers · starred Nov 2011