The Laravel ERD package automatically generates Entity-Relationship Diagrams from your Laravel models and displays them using erd-editor. As someone who recently downloaded MySQL workbench to try to generate an ERD diagram, using this package is way easier, and the results look beautiful:
I generated the ERD locally for the Pinkary.com project
The project's readme has advanced instructions on excluding tables and generating an SVG file that you can distribute to your team or with your documentation. I noticed the SVG generation was not working for me (this package is still brand new and under development). To get started with this package, view the installation and usage instructions at recca0120/laravel-erd on GitHub.
The post Generate Entity-Relationship Diagrams with Laravel appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.