nusje2000/feature-toggle-bundle
A Symfony bundle for adding feature toggles to PHP applications. Define toggles in configuration and enable or disable features at runtime, making gradual rollouts, testing, and safe deployment easier without code changes.
v6.0.0 impact on planning: this is a major version with breaking changes — the myclabs/php-enum dependency was removed and classes were re-typed. Any team relying on the previous enum-based toggle definitions or extending the bundle's classes will need code changes. Treat as a scheduled maintenance item needing engineering capacity, not a drop-in patch.
Consider it when:
Look elsewhere when:
For executives: This is a free, open-source feature-flag library for our PHP stack. It lets us ship code continuously while controlling when customers actually see a feature — reducing launch risk and giving us a fast off-switch if something goes wrong. Cost is engineering time, not licence fees. The trade-off: it is plumbing, not a product — no dashboard for business users, no experiment analytics, no vendor support. Adopt it if we want cheap release control; buy a commercial platform if we want marketing and product to run targeted rollouts and experiments without engineering.
For engineering: v6.0.0 is a major release — myclabs/php-enum was removed and classes are now typed — so it is a breaking change for any code using the old enum API or subclassing internals. Recommended path: pin a version, review the changelog diff for your usages, and schedule the upgrade as a discrete ticket rather than bundling it into feature work. For adoption, the pitch is straightforward: small surface area, no external service, flags live next to the code they gate. Set the expectation up front that toggles are temporary — require an owner and a removal date at creation, and budget cleanup time each quarter so we do not trade launch risk for permanent configuration debt.
How can I help you explore Laravel packages today?