PHPackages                             alvarezallen99/er-diagram-tool - 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. alvarezallen99/er-diagram-tool

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

alvarezallen99/er-diagram-tool
==============================

Automatically generate entity relationship diagrams for a Laravel application

v1.0.0(1y ago)0842[1 PRs](https://github.com/worksofallen/er-diagram-tool/pulls)MITBladePHP ^8.1CI passing

Since Oct 29Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/worksofallen/er-diagram-tool)[ Packagist](https://packagist.org/packages/alvarezallen99/er-diagram-tool)[ RSS](/packages/alvarezallen99-er-diagram-tool/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (3)Used By (0)

Entity Relationship Diagram Tool for Laravel
============================================

[](#entity-relationship-diagram-tool-for-laravel)

[![Coverage Status](https://camo.githubusercontent.com/45c9baa92d1c0bda35a60c8323206f65dab1b1d32818c78bb98ba893789a2429/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f616c766172657a616c6c656e39392f65722d6469616772616d2d746f6f6c2f62616467652e737667)](https://coveralls.io/github/alvarezallen99/er-diagram-tool)
==========================================================================================================================================================================================================================================================================================================================================

[](#)

[![Downloads](https://camo.githubusercontent.com/abddfd419464ef5a6aaf8195324b8773b748eb621f129c2c944391b43c31240a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c766172657a616c6c656e39392f65722d6469616772616d2d746f6f6c2e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/alvarezallen99/er-diagram-tool)
=============================================================================================================================================================================================================================================================================================================================================================

[](#-1)

Automatically generate interactive entity relationship diagram for models &amp; their relationships in Laravel and emit a static HTML file for use in a VuePress site.

This package is a heavily-customized fork from [AlvarezAllen99/laravel-erd](https://github.com/AlvarezAllen99/laravel-erd) meant for use in some very specific circumstances. You should probably check out the original package instead!

Installation
------------

[](#installation)

You can install the package via composer.

```
composer require alvarezallen99/er-diagram-tool --dev
```

You can publish the config file with:

```
php artisan vendor:publish --provider="AlvarezAllen99\LaravelERD\LaravelERDServiceProvider"
```

Usage
-----

[](#usage)

You can generate a static HTML file with the artisan command:

```
php artisan erd:generate
```

This will be placed in `storage/app/public/erd`, or whatever path you have configured in `config/laravel-erd.php`.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance67

Regular maintenance activity

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

612d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b2c422a8c704beaae44edfbe9a16f1883e96ac24b9f395e542d94bd5d7fbd04c?d=identicon)[alvarezallen99](/maintainers/alvarezallen99)

---

Top Contributors

[![worksofallen](https://avatars.githubusercontent.com/u/35176478?v=4)](https://github.com/worksofallen "worksofallen (2 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/alvarezallen99-er-diagram-tool/health.svg)

```
[![Health](https://phpackages.com/badges/alvarezallen99-er-diagram-tool/health.svg)](https://phpackages.com/packages/alvarezallen99-er-diagram-tool)
```

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

197.8k17](/packages/wsmallnews-filament-nestedset)

PHPackages © 2026

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