kevincobain2000/laravel-erd
Laravel ERD generates entity relationship diagrams directly from your Laravel models. It scans relationships and exports interactive diagrams, helping you visualize and document your database schema without manual drawing. Simple to install, with customization options for complex applications.
Consider it when:
Look elsewhere when:
For executives: This is a free, developer-only utility that turns our Laravel data model into an accurate ERD automatically. It closes a recurring documentation gap — engineers currently spend hours drawing and re-drawing diagrams by hand, and those diagrams are stale within a sprint. Net effect: faster onboarding, better-informed refactor and migration decisions, and lower reliance on paid diagramming tools — at essentially zero cost and zero production risk. The trade-off is that it's small community open source, so we treat it as an internal convenience (not a system of record) and can drop it anytime without customer impact.
For engineering: It introspects Eloquent relations and emits an ERD with a single command — no annotations or manual upkeep. Adopt it as a dev dependency and wire it into a docs job or a pre-refactor checklist. Caveats: coverage is limited to relations defined on models, so polymorphic and multi-connection schemas may need manual supplements; pin the version and sanity-check output after Laravel upgrades. If it becomes load-bearing for documentation, that's the trigger to evaluate a maintained or hosted alternative — but for the 80% case it's the cheapest accurate picture of our schema we can get.
How can I help you explore Laravel packages today?