alvarezallen99 / er-diagram-tool
Automatically generate entity relationship diagrams for a Laravel application
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.1
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- brianium/paratest: ^7.0
- laravel/pint: ^1.10
- nunomaduro/collision: ^7.0
- nunomaduro/larastan: ^2.0
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^10.0
Conflicts
README
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 alvarezallen99/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
.