Skip to content

Home

doctrine-diagram-bundle

DoctrineDiagramBundle is a Symfony bundle that generates ER and Class diagrams representing the current state of your database.

This bundle is not intended as a design tool but rather as a utility for monitoring and visualizing database schema status.

Features

  • Generate Entity-Relationship and UML Class diagrams from your Doctrine schema.
  • Choose the level of detail: mini, midi, or maxi.
  • Export diagrams as puml, svg, or png.
  • Style diagrams with built-in PlantUML themes.
  • Filter the entities or tables that appear in a diagram.
  • Convert PlantUML output locally (jar) or via a remote server.

Getting started

  1. Install the bundle
  2. Generating diagrams
  3. Configure the bundle

For conversion setup, see PlantUML setup. If generation fails, check the known issues.

Requirements

  • PHP 8.2+
  • Symfony 7.x or 8.x
  • PlantUML (only needed for png / svg output)