PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of jawira   PHP MySQL Draw   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP MySQL Draw
MySQL diagram generator PHP tool
Author: By
Last change:
Date: 4 months ago
Size: 2,421 bytes
 

Contents

Class file image Download

MySQL Draw

? 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

<dl>

<dt>

<a href="https://packagist.org/packages/jawira/doctrine-diagram-bundle">jawira/doctrine-diagram-bundle
<img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/doctrine-diagram-bundle?icon=github"/></a>

</dt> <dd>Symfony Bundle to generate database diagrams.</dd>

<dt>

<a href="https://packagist.org/packages/jawira/db-draw">jawira/db-draw
<img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/db-draw?icon=github"/></a>

</dt> <dd>Library to generate database diagrams.</dd>

<dt>

<a href="https://packagist.org/packages/jawira/plantuml-client"> jawira/plantuml-client
<img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/plantuml-client?icon=github"/></a>

</dt> <dd>Convert PlantUML diagrams into images (svg, png, ...).</dd>

<dt><a href="https://packagist.org/packages/jawira/">more...</a></dt> </dl>