worksofallen/laravel-er-diagram-tool

Automatically generate entity relationship diagrams for a Laravel application
1,588
Install
composer require worksofallen/laravel-er-diagram-tool
Latest Version:v1.1.0
PHP:^8.2
Laravel:10 – 13
License:MIT
Last Updated:Oct 6, 2026
Links: GitHub  ·  Packagist
Maintainer: alvarezallen99

Entity Relationship Diagram Tool for Laravel

Coverage Status

Downloads

Automatically generate interactive entity relationship diagram for models & 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 meant for use in some very specific circumstances. You should probably check out the original package instead!

Installation

You can install the package via composer.

composer require worksofallen/laravel-er-diagram-tool --dev

You can publish the config file with:

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

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.

Related Packages

livewire/flux

The official UI component library for Livewire.

12,192,801 978
infyomlabs/adminlte-templates

AdminLTE templates for InfyOm Laravel Generator

1,650,003 266
garygreen/pretty-routes

Pretty routes for Laravel 5+

1,401,080 650
infyomlabs/swagger-generator

Swagger Generator for InfyOm Laravel Generator

1,125,094 114
snowfire/beautymail

Send beautiful html emails with Laravel

778,222 1,314

Version History

Version Released PHP License
v1.1.0 ^8.2 MIT
v1.0.0 ^8.1 MIT