icanhazstring/foundry-bundle
Symfony bundle that integrates Foundry's PHP object factories into your app, giving you container-aware configuration for building test fixtures and model instances with less boilerplate. Use it to wire foundries as services and keep fixture setup clean and reusable across tests. Ideal for Symfony p...
zenstruck/foundry as the factory/fixture layer for Symfony projects, and whether a supplementary bundle is part of that standard stack. This package only matters at the edges of that decision — it is glue, not a capability. Release 0.3.0 does not change that: it renames things, it does not add capability.icanhazstring\FoundryBundle, bundle class FoundryBundle) is exactly the sort of churn a consumer has to absorb; if we lift the compiler pass into our own test-support bundle, we own the namespace and never do this dance.Consider it only when all of the following hold:
zenstruck/foundry, and you are hitting the specific container/compiler-pass failures this bundle patches.Look elsewhere — and by default, do not adopt — when:
composer.json and forget. Zero stars, zero dependents, and a rename-only release means effectively no community validation and no upgrade path.Net PM recommendation: reject as a dependency; treat as reference source code. 0.3.0 is a cosmetic rebrand, not a reason to adopt. If the underlying problem is still real for the team, allocate a small spike to internalize the fix under our own namespace.
For executives: This is a tiny, unmaintained add-on for a Symfony testing library. It solves a narrow wiring problem for older versions of the framework. Its newest release only renames its namespace and bundle class — no new features, no compatibility work, no security coverage. Adopting it would add a dependency nobody maintains, with no upgrade path, in exchange for saving perhaps a day of engineering — and would hand us a future breaking rename to absorb. The recommendation is unchanged: skip it and solve the problem internally if it still exists.
For engineering: icanhazstring/foundry-bundle supplies extra configs and compiler passes to smooth over zenstruck/foundry integration with Symfony components. Release 0.3.0 moves the namespace to icanhazstring\FoundryBundle and renames the bundle class to FoundryBundle — a BC break with no functional change and no stated Symfony/PHP/Foundry support bump. It remains glue code with no dependents and no activity. On modern Foundry and Symfony it is redundant. If we hit the specific issue on a legacy app, read the bundle's source, lift the relevant compiler pass into our own test-support code (choose our own namespace while we're at it), and move on. Do not add it to composer.json; treat it purely as a reference implementation.
How can I help you explore Laravel packages today?