jawira / mysql-draw
This package is abandoned and no longer maintained.
The author suggests using the jawira/doctrine-diagram-bundle package instead.
📐 Minimalist standalone tool to generate MySQL database diagrams.
v0.2.1-alpha.4
2022-10-16 19:24 UTC
Requires
- php: ^7.4 || ^8.0
- doctrine/dbal: ^2.5
- jawira/db-draw: ^1.2
- jawira/mini-getopt: ^1.2
- jawira/plantuml-client: ^1.0
- jawira/plantuml-to-image: ^0.2.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.15
- jawira/skeleton: ^2.6
- phpstan/phpstan: ^0.12.99
Suggests
- phing/phing: PHP Build Tool
This package is auto-updated.
Last update: 2024-03-12 21:11:05 UTC
README
Important
This repository has been archived, consider using jawira/doctrine-diagram-bundle instead.
📐 Standalone tool to generate MySQL database diagrams.
Usage
Database url option (--url) is required. Alternatively you can use DATABASE_URL environment variable.
mysql-draw --url=mysql://user:pass@host/db_name --size=mini --format=png
How to install
Phar file
Download the latest .phar file from releases page https://github.com/jawira/mysql-draw/releases:
wget https://github.com/jawira/mysql-draw/releases/download/v0.1.0/mysql-draw.phar php mysql-draw.phar --help
Or install globally:
mv mysql-draw.phar /usr/local/bin/mysql-draw chmod +x /usr/local/bin/mysql-draw
Composer
composer require jawira/mysql-draw --dev vendor/bin/mysql-draw --help
Requirements
- PHP 7.4 or newer
- mbstring extension
- mysql extension
Contributing
If you liked this project, ⭐ star it on GitHub.
License
This library is licensed under the MIT license.
Packages from jawira
- jawira/doctrine-diagram-bundle
- Symfony Bundle to generate database diagrams.
- jawira/db-draw
- Library to generate database diagrams.
- jawira/plantuml-client
- Convert PlantUML diagrams into images (svg, png, ...).
- more...