noud/schema-builder
Laravel/Lumen schema builder

Database designer & migration generator package for laravel & lumen.
Checkout agontuk.github.io/schema-designer to see how it works.
Installation
composer require --dev noud/schema-builder
For Laravel(>=5.5) this package utilises package auto-discovery. There is no need to add the service providers manually. You may notice the following message post-autoload.
Discovered Package: noud/schema-builder
or for Laravel(<5.5), register SchemaServiceProvider on the 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.
Usage
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.
License
Related Packages
Generate Mermaid.js ER diagrams from your Laravel database schema
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| 1.3.2 | ^8.0 | MIT | |
| 1.2.1 | ^8.0 | MIT | |
| 1.2.0 | 5.1.*| | MIT | |
| 1.0.2 | 5.1.*| | MIT | |
| 1.0.1 | 5.1.*| | MIT | |
| 1.0.0 | 5.1.*| | MIT |