Visual Database Schema
Designer for Laravel

Build your database visually with drag-and-drop, define Eloquent relationships, and export production-ready migration files.

Key Features

Visual Canvas

Drag-and-drop table design on an infinite SVG canvas with zoom and pan controls.

Column Editor

Define columns with all 30+ Laravel migration types, modifiers, and indexes.

Relationship Drawing

Click-to-connect tables with automatic FK column creation and cardinality indicators.

Code Generation

Preview and export valid Laravel migration files as a downloadable ZIP archive.

Quick Start

Install as Package

Add SchemaCraft to any existing Laravel project:

composer require schemacraft/schemacraft
php artisan schemacraft:install
php artisan migrate

Then visit /schemacraft in your browser.

Development Setup

Clone and run locally for development:

git clone <repo-url> SchemaCraft
cd SchemaCraft
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
npm install && npm run dev
php artisan serve

Built With Modern Tools

Laravel
v12
Livewire
v4
Alpine.js
+ SVG
Tailwind
v4
Pest PHP
Testing

Documentation

Browse the comprehensive documentation to learn about SchemaCraft's architecture and features