Laravel Sync Migration
It's a tool to help ease the repetitive migration process during developing a Laravel project without migrate:fresh your database every time you change you schemas.
Table of Contents
- Easy to install, no need to add or change your schemas or project files.
- Sync schema changes to database instantly. No need to repeat fresh or seed commands everytime.
- Interactive. It will give you choices to not force unwanted changes to your database.
composer require awssat/laravel-sync-migration
Before Laravel 5.5
In Laravel 5.4. you'll manually need to register the
Awssat\SyncMigration\SyncMigrationServiceProvider::class service provider in
It's simple. Anytime you want sync schema files to database run this command:
php artisan migrate:sync
You are very welcome to contribute and improve this package.
The MIT License (MIT). Please see License File for more information.