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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai