PHPackages                             jawira/doctrine-diagram-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. jawira/doctrine-diagram-bundle

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

jawira/doctrine-diagram-bundle
==============================

📐 Symfony Bundle to generate database diagrams

v2.0.0(1w ago)81104.9k↓36.4%4[6 issues](https://github.com/jawira/doctrine-diagram-bundle/issues)1MITPHPPHP ^8.2CI passing

Since Sep 23Pushed 1w ago7 watchersCompare

[ Source](https://github.com/jawira/doctrine-diagram-bundle)[ Packagist](https://packagist.org/packages/jawira/doctrine-diagram-bundle)[ Docs](https://github.com/jawira/doctrine-diagram-bundle)[ RSS](/packages/jawira-doctrine-diagram-bundle/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (38)Versions (23)Used By (1)

Doctrine Diagram Bundle
=======================

[](#doctrine-diagram-bundle)

**📐 Symfony Bundle to generate database diagrams.**

[![Latest Stable Version](https://camo.githubusercontent.com/161848de00c2d1bff6fa6fde8930c2de7e26e9958a60cfcc64195b608f290cfd/687474703a2f2f706f7365722e707567782e6f72672f6a61776972612f646f637472696e652d6469616772616d2d62756e646c652f76)](https://packagist.org/packages/jawira/doctrine-diagram-bundle)[![Total Downloads](https://camo.githubusercontent.com/c9891ce3a6f2148ce4097fd568e8a7072941960ec75bf97d5f0d0751513be4c4/687474703a2f2f706f7365722e707567782e6f72672f6a61776972612f646f637472696e652d6469616772616d2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/jawira/doctrine-diagram-bundle)[![PHP Version Require](https://camo.githubusercontent.com/5fcaeed7d4ac877e64a30807bde0282010c7b0cbdf21125d92c48f93a23c9c14/687474703a2f2f706f7365722e707567782e6f72672f6a61776972612f646f637472696e652d6469616772616d2d62756e646c652f726571756972652f706870)](https://packagist.org/packages/jawira/doctrine-diagram-bundle)[![License](https://camo.githubusercontent.com/8010c1adbda1bcaa18bbcc0010bb347861eb9f3e8a02a3c4d6ae3c7f8e1f331c/687474703a2f2f706f7365722e707567782e6f72672f6a61776972612f646f637472696e652d6469616772616d2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/jawira/doctrine-diagram-bundle)

Features:

- Multiple size diagrams: `mini`, `midi`, and `maxi`.
- File formats: `svg`, `png`, and `puml`.
- Filtering: display only selected tables/classes.
- Theme customisation.

Installation
------------

[](#installation)

```
composer config extra.symfony.allow-contrib true
composer require jawira/doctrine-diagram-bundle --dev
```

Usage
-----

[](#usage)

```
# Entity-relationship diagram
bin/console doctrine:diagram:er

# Class diagram
bin/console doctrine:diagram:class
```

Then open `er.svg` and `class.svg` located at the root of your project:

[![Entity-relationship diagram](docs/images/er.svg)](docs/images/er.svg)

[![Class diagram](docs/images/class.svg)](docs/images/class.svg)

Documentation
-------------

[](#documentation)

Contributing
------------

[](#contributing)

- Please report any bug.
- If you liked this project, ⭐ star it on GitHub.
- Or follow me on 𝕏. [![𝕏 Follow](https://camo.githubusercontent.com/6b819627ab62583ecad8c066018b68a1747a02cbdd65490c1c6f25e73881beeb/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f6a61776972613f7374796c653d736f6369616c)](https://x.com/jawira)

License
-------

[](#license)

This library is licensed under the [MIT license](LICENSE.md).

---

Packages from jawira
--------------------

[](#packages-from-jawira)

 [jawira/plantuml ![GitHub stars](https://camo.githubusercontent.com/db7045643d19066edf094c532aa3289faf61cc6a61148e3edd60f6b3c7d49f2d/68747470733a2f2f62616467656e2e6e65742f6769746875622f73746172732f6a61776972612f706c616e74756d6c3f69636f6e3d676974687562)](https://packagist.org/packages/jawira/plantuml)Provides PlantUML executable and plantuml.jar[more...](https://packagist.org/packages/jawira/)

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance97

Actively maintained with recent releases

Popularity46

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 96.1% of commits — single point of failure

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 ~96 days

Recently: every ~102 days

Total

19

Last Release

7d ago

Major Versions

v0.8.0 → v1.0.02025-05-12

v1.2.0 → v2.0.02026-06-27

PHP version history (4 changes)v0.0.0PHP ^7.4 || ^8.0

v0.6.0PHP ^8.0

v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/496541?v=4)[Jawira Portugal](/maintainers/jawira)[@jawira](https://github.com/jawira)

---

Top Contributors

[![jawira](https://avatars.githubusercontent.com/u/496541?v=4)](https://github.com/jawira "jawira (123 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![tacman](https://avatars.githubusercontent.com/u/619585?v=4)](https://github.com/tacman "tacman (2 commits)")[![tourze](https://avatars.githubusercontent.com/u/13899502?v=4)](https://github.com/tourze "tourze (1 commits)")

---

Tags

databasediagramdoctrinephpsymfony-bundleumldevdatabasedoctrineumldiagramSymfony Bundle

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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