PHPackages                             doctrine/doctrine-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. doctrine/doctrine-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

doctrine/doctrine-bundle
========================

Symfony DoctrineBundle

3.2.2(4mo ago)4.8k241.3M—6%481[31 issues](https://github.com/doctrine/DoctrineBundle/issues)[6 PRs](https://github.com/doctrine/DoctrineBundle/pulls)20MITPHPPHP ^8.4CI passing

Since Dec 15Pushed today48 watchersCompare

[ Source](https://github.com/doctrine/DoctrineBundle)[ Packagist](https://packagist.org/packages/doctrine/doctrine-bundle)[ Docs](https://www.doctrine-project.org)[ Fund](https://www.doctrine-project.org/sponsorship.html)[ Patreon](https://www.patreon.com/phpdoctrine)[ RSS](/packages/doctrine-doctrine-bundle/feed)WikiDiscussions 3.2.x Synced 1mo ago

READMEChangelog (10)Dependencies (31)Versions (157)Used By (20)Security (1)

Doctrine Bundle
===============

[](#doctrine-bundle)

Doctrine DBAL &amp; ORM Bundle for the Symfony Framework.

[![Continuous Integration](https://github.com/doctrine/DoctrineBundle/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/doctrine/DoctrineBundle/actions/workflows/continuous-integration.yml)[![codecov](https://camo.githubusercontent.com/44d2c3bdea63c43d16d2f1675614599960e980b46455f307617881acdb623179/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f446f637472696e6542756e646c652f67726170682f62616467652e7376673f746f6b656e3d71746d33455133576756)](https://codecov.io/gh/doctrine/DoctrineBundle)

What is Doctrine?
-----------------

[](#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
-------------

[](#documentation)

The documentation is rendered on [the symfony.com website](https://symfony.com/doc/current/reference/configuration/doctrine.html). The source of the documentation is available in the docs folder.

###  Health Score

87

—

ExcellentBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity85

Widely adopted with strong download metrics

Community65

Healthy contributor diversity

Maturity99

Battle-tested with a long release history

 Bus Factor4

4 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Recently: every ~22 days

Total

149

Last Release

57d ago

Major Versions

2.18.0 → 3.0.02025-10-11

2.18.1 → 3.0.x-dev2025-11-14

2.18.2 → 3.1.12025-12-21

3.2.0 → 4.0.x-dev2025-12-21

2.19.x-dev → 3.2.x-dev2026-02-12

PHP version history (8 changes)v1.0.0-beta1PHP &gt;=5.3.2

1.6.5PHP &gt;=5.5.9

1.7.0PHP ^7.1

1.8.0PHP ^5.5.9|^7.0

1.12.10PHP ^7.1 || ^8.0

2.8.0PHP ^7.4 || ^8.0

2.14.0PHP ^8.1

3.0.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/892698bb1d3f6dae0e3a44abe3e26920ddb4eb000c6c583c87b4db5e5027e166?d=identicon)[beberlei](/maintainers/beberlei)

---

Top Contributors

[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (437 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (291 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (286 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (259 commits)")[![alcaeus](https://avatars.githubusercontent.com/u/383198?v=4)](https://github.com/alcaeus "alcaeus (240 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (91 commits)")[![dmaicher](https://avatars.githubusercontent.com/u/921145?v=4)](https://github.com/dmaicher "dmaicher (63 commits)")[![kimhemsoe](https://avatars.githubusercontent.com/u/568787?v=4)](https://github.com/kimhemsoe "kimhemsoe (59 commits)")[![mikeSimonson](https://avatars.githubusercontent.com/u/907613?v=4)](https://github.com/mikeSimonson "mikeSimonson (57 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (45 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (45 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (45 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (43 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (33 commits)")[![weaverryan](https://avatars.githubusercontent.com/u/121003?v=4)](https://github.com/weaverryan "weaverryan (26 commits)")[![dunglas](https://avatars.githubusercontent.com/u/57224?v=4)](https://github.com/dunglas "dunglas (25 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (24 commits)")[![javiereguiluz](https://avatars.githubusercontent.com/u/73419?v=4)](https://github.com/javiereguiluz "javiereguiluz (21 commits)")[![vicb](https://avatars.githubusercontent.com/u/248818?v=4)](https://github.com/vicb "vicb (18 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (17 commits)")

---

Tags

bundledoctrinesymfonysymfony-bundlepersistencedatabaseormdbal

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/doctrine-doctrine-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/doctrine-doctrine-bundle/health.svg)](https://phpackages.com/packages/doctrine-doctrine-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/storefront

Storefront for Shopware

684.2M148](/packages/shopware-storefront)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
