mhitza / database-graphviz
generate graphviz graphs for a database
1.4.1
2024-01-28 14:10 UTC
Requires
- php: >=8.2
- doctrine/dbal: ~3.0
- symfony/console: ^5.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16 || ^3.0
- phpstan/phpstan: ^0.12.49 || ^1.0.0
This package is auto-updated.
Last update: 2025-02-20 04:05:11 UTC
README
A simple command line tool that can generate a Graphviz graph based on your MySQL/MariaDB schema relationships
Motivation
I just needed a simple tool to dump a Graphviz graph for a database on a project I was working on. The existing doctrine extra bundle for symfony didn't register as a command, and I'd rather have a tool not dependant on any other integration for this simple task.
Installation
Either add it as dev dependency to your project and execute it with ./vendor/bin/database-graphviz
$ composer require --dev mhitza/database-graphviz
Or download the packaged executable from the GitHub release tab.
Usage
See the example page for some steps to get you started.