Laravel ER Diagram Generator is a good package to generate entity relation diagrams by inspecting the relationships defined in your model files. It's very easy to use.

laravel ER Diagram generator


This package requires the graphviz tool.

You can install Graphviz on MacOS via homebrew:

brew install graphviz

Or, if you are using Homestead:

sudo apt-get install graphviz

To install Graphviz on Windows, download it from the official website.

Source Code