kukulili-labs/feature-toggle-bundle
A Symfony bundle for managing feature toggles in your application. Define flags, check whether features are enabled for users or environments, and roll changes out gradually without redeploying code.
Architecture fit
FeatureToggleBundle and uses Symfony bundle conventions. The "Laravel/PHP package" framing in the request is likely inaccurate. This is the single most important fact to confirm before any effort is committed: a Symfony-only bundle cannot be installed into a Laravel application without an adapter or a bespoke service provider, which converts a cheap dependency into a bespoke integration project.Integration feasibility
Technical risk
Key questions
ServiceProvider and facade, or is it Symfony-only? Which PHP and Laravel versions are supported?Stack fit
FeatureFlag interface in the application (e.g., isEnabled(string $flag, ?User $scope): bool) and bind the package behind it. This is the highest-leverage decision available: it caps migration cost at one class if the package is abandoned, and it lets tests stub toggles without touching the vendor.Migration path
config() checks, hardcoded if branches, and per-branch deploys. That inventory is both the migration backlog and the baseline you are measuring improvement against.Compatibility
composer.json and add a CI job that installs against the actual runtime to catch constraint drift early.Sequencing
Maintenance
Support
Scaling
Failure modes
isEnabled() return, and who gets paged?Ramp-up
How can I help you explore Laravel packages today?