Open-source project

Laravel MigrationOrderer

A Laravel package that resolves and orders database migrations by their actual foreign-key dependencies.

  • PHP
  • Laravel

Context

Laravel runs migrations in filename/timestamp order by default, which breaks down once a project has migrations that depend on tables created later or by another package.

Problem

Teams either rename migration files by hand to force an order, or hit foreign-key failures during `migrate` on CI and fresh installs.

Approach

Inspects migration dependencies and computes a safe run order automatically, instead of relying on filename timestamps.

Main capabilities

  • Dependency-aware migration ordering for Laravel projects
  • Reduces manual file renaming to fix migration order

Outcome / current status

Open-source package, published on GitHub.

Have a website, workflow or product that needs improvement?

Tell me what's not working and where you want it to go — I'll tell you honestly how I can help.