Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
/ mysql-draw Public archive

📐 Minimalist standalone tool to generate MySQL database diagrams.

License

Notifications You must be signed in to change notification settings

jawira/mysql-draw

Repository files navigation

MySQL Draw

Important

This repository has been archived, consider using jawira/doctrine-diagram-bundle instead.

📐 Standalone tool to generate MySQL database diagrams.

Latest Stable Version Total Downloads License PHP Version Require

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 GitHub stars
Symfony Bundle to generate database diagrams.
jawira/db-draw GitHub stars
Library to generate database diagrams.
jawira/plantuml-client GitHub stars
Convert PlantUML diagrams into images (svg, png, ...).
more...