PHPackages                             jawira/mysql-draw - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. jawira/mysql-draw

Abandoned → [jawira/doctrine-diagram-bundle](/?search=jawira%2Fdoctrine-diagram-bundle)ArchivedLibrary[Database &amp; ORM](/categories/database)

jawira/mysql-draw
=================

📐 Minimalist standalone tool to generate MySQL database diagrams.

v0.2.0(3y ago)135923[3 issues](https://github.com/jawira/mysql-draw/issues)MITPHPPHP ^7.4 || ^8.0

Since Oct 2Pushed 2y ago2 watchersCompare

[ Source](https://github.com/jawira/mysql-draw)[ Packagist](https://packagist.org/packages/jawira/mysql-draw)[ RSS](/packages/jawira-mysql-draw/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (8)Versions (10)Used By (0)

MySQL Draw
==========

[](#mysql-draw)

Important

This repository has been archived, consider using [jawira/doctrine-diagram-bundle](https://github.com/jawira/doctrine-diagram-bundle) instead.

**📐 Standalone tool to generate MySQL database diagrams.**

[![Latest Stable Version](https://camo.githubusercontent.com/1129f3658c92985ba07cd9c445f0f25151d68e8cb0129260f217c0b58fd4811c/687474703a2f2f706f7365722e707567782e6f72672f6a61776972612f6d7973716c2d647261772f76)](https://packagist.org/packages/jawira/mysql-draw)[![Total Downloads](https://camo.githubusercontent.com/15f51a7351032db8b332f37d3e61c9f49cb9d4aea5cb46b10eeeb650f9e07608/687474703a2f2f706f7365722e707567782e6f72672f6a61776972612f6d7973716c2d647261772f646f776e6c6f616473)](https://packagist.org/packages/jawira/mysql-draw)[![License](https://camo.githubusercontent.com/7b5fbae561e7e372ab4e226ea405c5d94cd82fbe3358bad39f126b3ecb2f526f/687474703a2f2f706f7365722e707567782e6f72672f6a61776972612f6d7973716c2d647261772f6c6963656e7365)](https://packagist.org/packages/jawira/mysql-draw)[![PHP Version Require](https://camo.githubusercontent.com/e6265980bd473b8f7383e15332cb093babcdb883b63a56540bcb7ae71129a266/687474703a2f2f706f7365722e707567782e6f72672f6a61776972612f6d7973716c2d647261772f726571756972652f706870)](https://packagist.org/packages/jawira/mysql-draw)

Usage
-----

[](#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
--------------

[](#how-to-install)

### Phar file

[](#phar-file)

Download the latest *.phar* file from releases page :

```
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)

```
composer require jawira/mysql-draw --dev
vendor/bin/mysql-draw --help
```

Requirements
------------

[](#requirements)

- PHP 7.4 or newer
- mbstring extension
- mysql extension

Contributing
------------

[](#contributing)

If you liked this project, ⭐ [star it on GitHub](https://github.com/jawira/mysql-draw).

License
-------

[](#license)

This library is licensed under the [MIT license](LICENSE.md).

---

Packages from jawira
--------------------

[](#packages-from-jawira)

 [jawira/doctrine-diagram-bundle ![GitHub stars](https://camo.githubusercontent.com/462206b7e0f2710fb003bb443de5def28346b3391b6914c8e73b83a62ae7bcdf/68747470733a2f2f62616467656e2e6e65742f6769746875622f73746172732f6a61776972612f646f637472696e652d6469616772616d2d62756e646c653f69636f6e3d676974687562)](https://packagist.org/packages/jawira/doctrine-diagram-bundle)Symfony Bundle to generate database diagrams. [jawira/db-draw ![GitHub stars](https://camo.githubusercontent.com/abd0a0569f7999f3a0fdb76cf7c95756518c99d1d6a54529c22cb873b19fc94d/68747470733a2f2f62616467656e2e6e65742f6769746875622f73746172732f6a61776972612f64622d647261773f69636f6e3d676974687562)](https://packagist.org/packages/jawira/db-draw)Library to generate database diagrams. [ jawira/plantuml-client ![GitHub stars](https://camo.githubusercontent.com/b48ba66d7a22d9499c8d4865b40934b2a1ea40a48fe3cf57f3dd466ce3d0ab6c/68747470733a2f2f62616467656e2e6e65742f6769746875622f73746172732f6a61776972612f706c616e74756d6c2d636c69656e743f69636f6e3d676974687562)](https://packagist.org/packages/jawira/plantuml-client)Convert PlantUML diagrams into images (svg, png, ...).[more...](https://packagist.org/packages/jawira/)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~0 days

Total

9

Last Release

1304d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/496541?v=4)[Jawira Portugal](/maintainers/jawira)[@jawira](https://github.com/jawira)

---

Top Contributors

[![jawira](https://avatars.githubusercontent.com/u/496541?v=4)](https://github.com/jawira "jawira (23 commits)")

---

Tags

databasediagramdoctrinephpsymfonyumlsymfonydatabasedoctrineumldiagram

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jawira-mysql-draw/health.svg)

```
[![Health](https://phpackages.com/badges/jawira-mysql-draw/health.svg)](https://phpackages.com/packages/jawira-mysql-draw)
```

###  Alternatives

[jawira/doctrine-diagram-bundle

📐 Symfony Bundle to generate database diagrams

8187.1k2](/packages/jawira-doctrine-diagram-bundle)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[onurb/doctrine-yuml-bundle

Symfony Bundle to visualize the mapping of your entities with Yuml

4198.6k](/packages/onurb-doctrine-yuml-bundle)[webonaute/doctrine-fixtures-generator-bundle

Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.

67184.1k](/packages/webonaute-doctrine-fixtures-generator-bundle)[jawira/db-draw

📐 Takes a DoctrineORM connection and generates a database diagram in .puml format

2295.1k2](/packages/jawira-db-draw)[doesntmattr/mongodb-migrations-bundle

Symfony MongoDBMigrationsBundle

23484.5k1](/packages/doesntmattr-mongodb-migrations-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
