Weave Code
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

Legacy Factories Laravel Package

laravel/legacy-factories

Bring back classic Laravel model factories (<=7.x) on Laravel 8+ projects. laravel/legacy-factories restores the old factory syntax for generating test and seed data, easing upgrades and maintaining legacy codebases without rewrites.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables incremental Laravel upgrades by preserving legacy factory syntax, reducing risk of breaking existing tests and seeders during migration
  • Supports roadmap planning for phased application modernization, avoiding costly big-bang rewrites
  • Eliminates "build vs buy" dilemma for compatibility layers—official package with MIT license ensures maintainability
  • Critical for projects maintaining legacy test suites where immediate refactoring to class-based factories is infeasible
  • Allows teams to prioritize business features over factory migration during upgrade cycles

When to Consider This Package

  • ✅ Upgrading from Laravel <8 to >=8 with existing closure-based factories
  • ✅ Needing to maintain test coverage during phased upgrades without rewriting all factories immediately
  • ✅ Working on a project with tight deadlines where full factory refactoring isn't feasible
  • ❌ Starting a new Laravel project (use native class-based factories instead)
  • ❌ Projects already fully migrated to Laravel 8+ with class-based factories
  • ❌ Teams with
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle