jawira/doctrine-diagram-bundle
A Symfony bundle for generating diagrams from Doctrine entities. Visualize your ORM mappings as ER diagrams to inspect relationships, schema structure, and entity connections, making documentation and debugging easier.
^1.2 and accepting a frozen feature line. This is a real roadmap input if a platform upgrade is already on the table.Adopt when all of these hold:
--include filters make this a genuine reason to pick v2 over v1, and over manual tooling.Look elsewhere when:
doctrine/dbal against a live DB, or a dedicated Laravel ERD tool) instead.For executives: A free, MIT-licensed utility that turns our Symfony/Doctrine data model into up-to-date ER diagrams automatically. It removes a recurring manual documentation cost and reduces the risk of decisions being made against stale schema pictures. Cost is near zero; the main considerations are that it's a small, single-maintainer open-source project and that v2 requires PHP 8.2+ and Symfony 7, so it rides along with our platform upgrade rather than leading it. We pin the version and keep the integration thin enough to replace.
For engineering: One command (wired into CI) produces ERDs straight from entity metadata — no separate diagram source to keep in sync with the code. v2.0.0 is a breaking major: PHP 8.2 minimum, Symfony 6 dropped, --exclude now takes repeated flags instead of a comma-separated list, and --include filters are new (useful for per-module diagrams). Migration is a CLI-argument edit plus a platform check — small, but it will silently change behaviour in existing CI scripts if we don't touch them. Still a Symfony bundle over Doctrine, so it's a non-starter for our Laravel services and won't see raw SQL objects. Treat it as a documentation build step, not a runtime dependency, and expect to own minor fixes if upstream goes quiet.
How can I help you explore Laravel packages today?