Skip to content
A Laravel package to help organise migrations
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Apply fixes from StyleCI Jan 9, 2020
tests modify PHPUnit namespace position. Apr 6, 2018
.gitignore Proof of concept Mar 24, 2015
.travis.yml Test on PHP 7.3 Dec 6, 2018
LICENSE Proof of concept Mar 24, 2015
composer.json Remove Carbon dependency Jan 15, 2020
phpunit.php Tweak Jan 15, 2020

Laravel Migrations Organiser

Build Status Total Downloads Scrutinizer Code Quality

The number of migrations in any sized project can quickly become huge, and although they are ordered, having one big list can sometimes be inconvenient and slow to navigate.

This package will put your migrations in yyyy/mm folders e.g.




composer require jaybizzle/laravel-migrations-organiser

Add the following to the providers array in your config/app.php file..


Laravel ^5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider


This package hooks into the default artisan make:migration command. Just use that as you normally would and the package takes care of the rest.

What if I have already created migrations

No problem, just run artisan migrate:organise and your migrations will be moved into the relevant yyyy/mm folders.

I want my migrations back to how they were

Again, no problem. Running artisan migrate:disorganise will move all migrations from the yyyy/mm folder structure into the base migrations folder. Add the --force option to delete left over folders without confirmation.


You can’t perform that action at this time.