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

Model Factory Bundle Laravel Package

xsolve-pl/model-factory-bundle

A Symfony bundle that brings Laravel-style model factories to PHP projects, helping you generate test data and fixtures for Doctrine entities with reusable definitions, associations, and customizable attributes.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Test-data architecture / conventions: this bundle is a skeleton for organizing model-factory classes — it supports a decision to standardize where factories live, how they're named, and how they're discovered, rather than each squad reinventing the pattern.
  • Build vs. borrow vs. copy: because it's a thin, MIT-licensed organizational pattern rather than a feature-rich library, the real decision is "do we borrow the convention?" — and often the cheapest path is to lift the structure into our own base classes rather than track an upstream dependency.
  • Platform vs. squad ownership: helps decide whether test-data tooling is a shared-platform concern (common factory base classes, seeding strategy, dev/demo data) or left to individual teams.
  • Use cases in scope: functional/integration test fixtures, dev and demo environment seeding, consistent factory ergonomics for onboarding new engineers.
  • Stack-fit flag (important): the repository is a Symfony bundle, not a Laravel package. If the product is on Laravel, native model factories and seeders already cover this and the package is out of scope. A PM decision here is simply: confirm the framework before spending evaluation time.
  • Adoption signals argue against dependency: 12 stars, 0 dependents, last release January 2023. Treat it as a reference pattern, not a maintained dependency, and avoid baking it into the roadmap as a platform commitment.

When to Consider This Package

Adopt (or borrow) when:

  • The stack is Symfony (not Laravel), on a PHP version compatible with the bundle's 2023-era requirements.
  • You have a growing number of models and no factory convention, and inconsistent test setup is creating measurable maintenance drag.
  • You need a lightweight organizing convention, not a full fixture-generation library.
  • The team is willing to fork or vendor it and own maintenance — the MIT license makes that clean.

Look elsewhere when:

  • Laravel stack — use native factories and seeders; there is nothing to gain here.
  • You need actual generation capability (Faker integration, relationship/association handling, persistence, states/sequences) — evaluate zenstruck/foundry for Symfony, or Alice / DoctrineFixturesBundle.
  • You require active maintenance, security patching, or vendor support. A 2023 last release with zero dependents is disqualifying for anything production-critical.
  • Your test-data surface is small (one or two factories) — the convention overhead exceeds the benefit.
  • You're standardizing across multiple frameworks — pick framework-native tooling per stack instead of a single cross-cutting bundle.

How to Pitch It (Stakeholders)

For executives: This is a small, permissively licensed organizational pattern for test data in Symfony applications — not a strategic dependency. The cost to borrow the idea is near zero, and the risk of skipping it is also low. Recommendation: do not add it as a dependency or roadmap item; treat it as a design reference. Note the stack caveat: it does not apply to our Laravel services.

For engineering: It provides a skeleton for structuring model factories — useful as a convention, not as a library. Given 12 stars, zero dependents, and no release since January 2023, we should not take a dev/runtime dependency on it. If our factory organization is genuinely inconsistent, we copy the structure (or fork it under MIT) into our own base classes, or adopt an actively maintained alternative such as Foundry. Proposed next step: a one-day spike to quantify our current factory sprawl; proceed to a fork only if the pain is measurable and recurring.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin