PHPackages                             chrischerrett/laravel-migrations-organiser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. chrischerrett/laravel-migrations-organiser

ActiveLibrary[Database &amp; ORM](/categories/database)

chrischerrett/laravel-migrations-organiser
==========================================

A Laravel package to help organise migration files.

014PHP

Since Oct 31Pushed 1y agoCompare

[ Source](https://github.com/chrischerrett/Laravel-Migrations-Organiser)[ Packagist](https://packagist.org/packages/chrischerrett/laravel-migrations-organiser)[ RSS](/packages/chrischerrett-laravel-migrations-organiser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Migrations Organiser
============================

[](#laravel-migrations-organiser)

[![Total Downloads](https://camo.githubusercontent.com/a52ab4b1829f3bf7bee0450c33f0bf384aa82a3fdaad610a33aed6ba8900ea07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4a617942697a7a6c652f4c61726176656c2d4d6967726174696f6e732d4f7267616e697365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jaybizzle/Laravel-Migrations-Organiser)[![](https://camo.githubusercontent.com/b7768f9440fd39e77f64de87cc6753cb85a7338758bff66cbd6fd6091857efcd/68747470733a2f2f7374796c6563692e696f2f7265706f732f33323832383930372f736869656c64)](https://styleci.io/repos/32828907)

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.

`./database/migrations/2015/03/2015_03_25_210946_create_users_table.php`

Versions
========

[](#versions)

- Laravel 5.3-6.\* use `v4.*`
- Laravel 7.\* use `v5.*`
- Laravel 8 &amp; 9 use `v6.*`

Installation
============

[](#installation)

```
composer require jaybizzle/laravel-migrations-organiser

```

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

```
    Jaybizzle\MigrationsOrganiser\MigrationsOrganiserServiceProvider::class,
```

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

Usage
=====

[](#usage)

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

[](#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

[](#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.

[![Analytics](https://camo.githubusercontent.com/e3ff44ccccaa44c8e55a0d96f193be6ed74c2568b7d101b1fee9109ef5b08c48/68747470733a2f2f67612d626561636f6e2e61707073706f742e636f6d2f55412d37323433303436352d312f4c61726176656c2d4d6967726174696f6e732d4f7267616e697365722f726561646d653f706978656c)](https://github.com/JayBizzle/Laravel-Migrations-Organiser)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 79.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fb27f583d92caacc42a7ebc2558dc648f9fe8c070ce7b40c6d0771afe2abb8c?d=identicon)[chrischerrett@gmail.com](/maintainers/chrischerrett@gmail.com)

---

Top Contributors

[![JayBizzle](https://avatars.githubusercontent.com/u/340752?v=4)](https://github.com/JayBizzle "JayBizzle (130 commits)")[![MaxGiting](https://avatars.githubusercontent.com/u/9828591?v=4)](https://github.com/MaxGiting "MaxGiting (19 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (4 commits)")[![JorisDebonnet](https://avatars.githubusercontent.com/u/3286264?v=4)](https://github.com/JorisDebonnet "JorisDebonnet (3 commits)")[![chrischerrett](https://avatars.githubusercontent.com/u/50097558?v=4)](https://github.com/chrischerrett "chrischerrett (2 commits)")[![skyrpex](https://avatars.githubusercontent.com/u/1077520?v=4)](https://github.com/skyrpex "skyrpex (1 commits)")[![jwcastillo](https://avatars.githubusercontent.com/u/443948?v=4)](https://github.com/jwcastillo "jwcastillo (1 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")[![brandonferens](https://avatars.githubusercontent.com/u/1819546?v=4)](https://github.com/brandonferens "brandonferens (1 commits)")

### Embed Badge

![Health badge](/badges/chrischerrett-laravel-migrations-organiser/health.svg)

```
[![Health](https://phpackages.com/badges/chrischerrett-laravel-migrations-organiser/health.svg)](https://phpackages.com/packages/chrischerrett-laravel-migrations-organiser)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
