Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Migrations Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. adopt for schema tooling. Frame this as a decision about where the schema should live: in Eloquent models (this package) versus in traditional migration files (Laravel default). This is a meaningful architectural choice, not just a utility, because it changes who owns schema changes, how they are reviewed, and how rollbacks work.
  • Scope and sequencing of greenfield work. The 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.
  • Which projects get model-first schema. Decide per project type: prototypes, internal tools, CRUD admin panels, throwaway spikes, and small single-team services are candidates. Customer-facing or regulated systems are not.
  • Developer experience investment. Informs whether to standardize onboarding on 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.
  • Vendor and dependency risk posture. With zero stars, zero dependents, and a repo suggesting a legacy/archival origin, this is an experiment-tier dependency, not a platform bet. That drives a decision to pilot behind a boundary (internal tool, isolated service) rather than spread it across teams.
  • Code review and governance design. If adopted, the review artifact shifts from a migration file to a 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).

When to Consider This Package

Consider it when:

  • You are greenfield and the schema is still fluid, with a small number of models (roughly a dozen or fewer).
  • The work is internal tooling, an MVP, a demo, or a spike where speed dominates longevity.
  • A single team owns the database; there is no DBA gate or formal schema change board.
  • You are comfortable with the trade-off that schema changes are coupled to model code deployment.
  • You can accept the risk of a low-adoption dependency (0 stars, 0 dependents) and are prepared to fork or eject to standard migrations if the maintainer goes quiet.
  • You have validated that 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:

  • The system is production-critical with SLAs, zero-downtime deploy expectations, or online schema change requirements.
  • You need auditable migration history, named versioned changes, or reliable rollbacks — the documented surface here is forward-migrating (migrate:auto, --fresh), with no described down/rollback story.
  • You need complex data backfills, column renames with data preservation, or multi-step transformations that don't fit a single Blueprint definition.
  • Multiple teams or branches change schema concurrently and need conflict resolution.
  • Regulated data, retention, or compliance audits require an immutable change log.
  • You already have a large traditional migration history and a working process; the marginal gain doesn't justify a second schema paradigm.
  • The package's maintenance signal is unacceptable for your risk profile — verify release recency, issue responsiveness, and Laravel version support before committing.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log