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.
Adopt (or borrow) when:
Look elsewhere when:
zenstruck/foundry for Symfony, or Alice / DoctrineFixturesBundle.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.
How can I help you explore Laravel packages today?