Database designer & migration generator package for Laravel.
Checkout agontuk.github.io/schema-designer to see how it works.
Add at the bottom of your composer.json:
"prefer-stable": true, // add a comma to this line
"repositories": [
{
"type": "vcs",
"url": "https://github.com/J87NL/schema-builder"
}
]
} // leave this existing closing tagRun in your console to install:
composer require --dev j87nl/schema-builder:dev-main
Finally enable required routes via .env,
SCHEMA_ROUTES_ENABLED=trueNOTE: 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.
