| Package Data | |
|---|---|
| Maintainer Username: | Agontuk | 
| Maintainer Contact: | rifat662@gmail.com (Iftekhar Rifat) | 
| Package Create Date: | 2017-01-22 | 
| Package Last Update: | 2021-03-21 | 
| Home Page: | https://packagist.org/packages/agontuk/schema-builder | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-11-02 15:13:15 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 1,592 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 54 | 
| Total Watchers: | 6 | 
| Total Forks: | 21 | 
| Total Open Issues: | 3 | 
Database designer & migration generator package for laravel & lumen.
Checkout agontuk.github.io/schema-designer to see how it works.
composer require --dev agontuk/schema-builder
Then register SchemaServiceProvider, for laravel on providers array in config/app.php,
\Agontuk\Schema\SchemaServiceProvider::class
or for lumen in bootstrap/app.php
$app->register(\Agontuk\Schema\SchemaServiceProvider::class);
Finally enable required routes via .env,
SCHEMA_ROUTES_ENABLED=true
NOTE: APP_ENV should be
localto use this package.
Navigate to yoursite.com/schema and build your database schema, then use the export button to generate migration files.
NOTE: Not all features of migration are supported yet. Feel free to submit any issues or pull requests.