laravel-auto/migrations
Laravel package that generates migration files automatically from your existing database schema, letting you version-control tables without writing migrations by hand. Inspects your tables and columns, then scaffolds matching up and down migrations.
make:amodel + migrate:auto workflow is a developer-velocity lever for the early phase of a product: define a model, get a table, get a factory, move on. It supports a roadmap where the first weeks are about validating data models rather than authoring boilerplate.make:amodel and migrate:auto-discover (lower time-to-first-feature, fewer files, fewer review surfaces) or to invest in migration-file conventions, linting, and schema review process instead.migration() method inside a model. PM should ask whether the team's review checklist, PR templates, and DBA involvement still catch destructive column changes, index additions, and foreign key ordering ($migrationOrder).Consider it when:
migrate:auto, --fresh, and --seed behave safely in your environments, and that automatic migrations run after traditional ones as documented, so coexistence is possible.Look elsewhere when:
migrate:auto, --fresh), with no described down/rollback story.Blueprint definition.To executives: This package collapses model definition, table creation, and factory scaffolding into one file and one workflow, which shortens the path from idea to working feature for early-stage and internal products. The concept is sound and the opportunity is real, but ecosystem validation is currently near zero — no stars, no dependents, and a low maturity score. Recommendation: treat it as a time-boxed pilot on one internal project, with a clear success metric (e.g., setup time per new entity, number of migration files avoided, zero schema incidents) and an explicit exit path back to standard Laravel migrations. Do not make it a platform standard.
To engineering: The pitch is developer experience and a single source of truth: make:amodel generates the model, migration method, soft-delete support, and factory; $migrationOrder handles foreign key sequencing; migrate:auto-discover makes the model set auditable. The costs are equally clear: schema is coupled to model code, --fresh is a loaded gun in production, there is no documented rollback path, and the dependency is unmaintained-by-consensus. Ask for a spike that proves it on one service, a written guardrail (never --fresh against production; back up first; review every migration() diff), and a documented ejection plan to conventional migrations. If the team can't articulate the ejection plan, decline adoption.
How can I help you explore Laravel packages today?