PHPackages                             mhitza/database-graphviz - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mhitza/database-graphviz

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

mhitza/database-graphviz
========================

generate graphviz graphs for a database

1.4.1(2y ago)04761[4 PRs](https://github.com/mhitza/database-graphviz/pulls)LGPL-3.0-or-laterPHPPHP &gt;=8.2CI passing

Since Dec 22Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/mhitza/database-graphviz)[ Packagist](https://packagist.org/packages/mhitza/database-graphviz)[ RSS](/packages/mhitza-database-graphviz/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (4)Versions (15)Used By (0)

database-graphviz
=================

[](#database-graphviz)

A simple command line tool that can generate a Graphviz graph based on your MySQL/MariaDB schema relationships

Motivation
----------

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

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

[](#usage)

See the [example page](doc/example.md) for some steps to get you started.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance59

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 53.2% 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 ~249 days

Recently: every ~371 days

Total

7

Last Release

841d ago

PHP version history (2 changes)1.3PHP &gt;=7.1||&gt;=8.0

1.4PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/7744ff644a67de8eaee891565bdb7198da451768be167c9de601ea008574988b?d=identicon)[mhitza](/maintainers/mhitza)

---

Top Contributors

[![mhitza](https://avatars.githubusercontent.com/u/273079?v=4)](https://github.com/mhitza "mhitza (560 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (479 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (13 commits)")

---

Tags

graphvizmariadbmysqlpharphp

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mhitza-database-graphviz/health.svg)

```
[![Health](https://phpackages.com/badges/mhitza-database-graphviz/health.svg)](https://phpackages.com/packages/mhitza-database-graphviz)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[wallabag/wallabag

open source self hostable read-it-later web application

12.6k2.2k](/packages/wallabag-wallabag)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[typo3/cms-redirects

TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.

167.0M55](/packages/typo3-cms-redirects)

PHPackages © 2026

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