NEW Loading version… ERD4Dev is now available on Packagist. Explore the package
DATA MODELING FOR LARAVEL

Your ideas.Your diagrams.Your database.

From your first entity to project-ready SQL. Model visually, connect relationships, and turn diagrams into real structures — without leaving Laravel.

Open source · MITMade by Makermind
TRY IT YOURSELF

From an idea to a diagram to code.

Drag entities, change attributes, and create relationships. Then see how your model can become tables and SQL.

ER ModelerDemo project
INTERACTIVE
Click the pencil to edit • Drag to move
Local demo
2 entities · 1 relationshipDrag the purple bars to rearrange · Click ◇ to connectSwipe sideways to explore entities →

Like this workflow? Install ERD4Dev in your Laravel project to use the complete tool.

BUILT FOR THE ECOSYSTEMLaravelLivewireSQLBlueprintComposer
BUILT FOR BUILDERS

Less complexity.
More clarity in your project.

See how data connects, evolve your structure, and keep everything in the same development environment.

Drag your ideas
into the diagram.

Create entities, configure attributes, and define relationships in an organized visual experience.

ER modeling

Import. Understand.
Keep going.

Bring JSON, SQL, or metadata from connections configured in Laravel into your model.

From model
to code.

Export SQL, diagram images, and Laravel Blueprint drafts for review.

ALL IN YOUR WORKFLOW

Build the structure.
We help
connect it all.

ERD4Dev brings data modeling together in a visual interface integrated with your Laravel application. Start from scratch or build on what you already have.

ER diagrams and relational models
Primary keys, foreign keys, and cardinality
Import and export with greater control
Integration with your Laravel environment
View full documentation
diagram-to-code
01// Ready to transform
02entity "User" {
03  id: bigint
04  name: varchar
05  email: varchar
06 }
07
08relation User → Order
Structured modelERD4Dev
DIAGRAMS THAT BECOME STRUCTURES
SIMPLE FROM START TO FINISH

From idea to database.
Without losing your train of thought.

A workflow designed so you spend more time on data architecture and less on configuration.

01

Design

Create entities, attributes, and relationships in the visual editor.

02

Structure

Convert the ER model and refine tables, columns, and keys.

03

Generate

Export SQL or a Blueprint draft to review and use.

START BUILDING

Ready when
you are.

Install the package in your Laravel project via Composer and open the editor at the /erd route in your application.

PHP 8.3+Laravel 12+Livewire 4.3+
View on Packagist
terminalbash
# 1. Install in your Laravel project
$composer require --dev makermind/erd4dev
# 2. Open the editor at your application address
→http://localhost:8000/erd
Everything is ready to start modeling.