https://github.com/mhitza/database-graphviz
A simple command line tool that can generate a Graphviz graph based on your schema relationships
https://github.com/mhitza/database-graphviz
graphviz mariadb mysql phar php
Last synced: 7 months ago
JSON representation
A simple command line tool that can generate a Graphviz graph based on your schema relationships
- Host: GitHub
- URL: https://github.com/mhitza/database-graphviz
- Owner: mhitza
- License: lgpl-3.0
- Created: 2019-12-22T02:24:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-10-20T21:50:11.000Z (8 months ago)
- Last Synced: 2025-10-20T23:35:19.328Z (8 months ago)
- Topics: graphviz, mariadb, mysql, phar, php
- Language: PHP
- Homepage:
- Size: 1.53 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# database-graphviz
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](https://github.com/mhitza/database-graphviz/releases).
## Usage
See the [example page](doc/example.md) for some steps to get you started.