thibaud-dauce/laravel-recursive-migrations

There is no license information available for the latest version (dev-master) of this package.

This package allows to put Laravel migrations into subdirectories

dev-master 2017-01-25 16:58 UTC

README

This package allows to put Laravel migrations into subdirectories.

Check my blog post!

Installation

Download the package with Composer:

composer require thibaud-dauce/laravel-recursive-migration

Then add the Service Provider in you config/app.php:

ThibaudDauce\LaravelRecursiveMigrations\LaravelRecursiveMigrationsServiceProvider::class,

Usage

All migrations' commands are available. Just add the --recursive or the -r flag.

php artisan migrate --recursive
php artisan migrate:rollback --recursive
php artisan migrate:refresh --recursive
php artisan migrate:reset --recursive
php artisan migrate:status --recursive