Skip to content
Proyek

jawira/doctrine-diagram-bundle

Lihat di GitHub

Tentang

πŸ“ Symfony Bundle to generate database diagrams

Data dan analisis

Cara angka ini diukur

Yang dapat Anda lakukan

  • Generate ER diagrams from a Doctrine DBAL connection and class diagrams from Doctrine entities.
  • Choose mini, midi, or maxi detail.
  • Export PlantUML source (puml) or render diagrams as svg and png.
  • Apply built-in PlantUML themes and filter tables or classes with include and exclude patterns.

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
Mengumpulkan riwayat
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

πŸ“ Doctrine Diagram Bundle

Generate Entity-Relationship and UML class diagrams from a Symfony application's Doctrine schema.

Latest Stable Version Total Downloads PHP Version Require License

Use the bundle to inspect the current database schema and Doctrine entities. It generates diagrams for monitoring and visualization.

Features

  • Generate ER diagrams from a Doctrine DBAL connection and class diagrams from Doctrine entities.
  • Choose mini, midi, or maxi detail.
  • Export PlantUML source (puml) or render diagrams as svg and png.
  • Apply built-in PlantUML themes and filter tables or classes with include and exclude patterns.
  • Render locally with PlantUML or through a PlantUML server.

Installation

With Symfony Flex, enable community recipes (once per project) and require the bundle as a development dependency:

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

Documentation

Read the documentation: https://jawira.github.io/doctrine-diagram-bundle/.

Generate diagrams

# Entity-Relationship diagram
bin/console doctrine:diagram:er

# UML class diagram
bin/console doctrine:diagram:class

By default, the commands write er.svg and class.svg to the project root. The default format is SVG. Use --format=puml to write PlantUML source without requiring a renderer, or --format=png for a PNG image.

Example Entity-Relationship diagram

Example UML class diagram

Contributing

License

This library is licensed under the MIT license.


Packages from jawira

jawira/plantuml GitHub stars
Provides PlantUML executable and plantuml.jar
more...

Jelajahi proyek terkait

Memuat…