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

Feature Toggle Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Decoupling release from launch. A toggle layer lets engineering merge continuously while a PM controls the moment functionality becomes visible. Roadmap conversations shift from "when does the release ship?" to "when do we turn it on, and for whom?" — a far more controllable lever, and one a PM owns rather than inherits from a deploy calendar.
  • Progressive rollout and blast-radius control. The percentage and context-aware strategies (user, environment, request) support staged exposure — internal users, then 5%, then 25%, then 100% — with a kill switch between each step. This reframes a go/no-go launch decision into a sequence of small, reversible ones, which is materially easier to defend to risk-averse stakeholders.
  • Build vs. buy for the flagging capability itself. This package sits on the "self-host cheaply" branch of that decision. Even if the eventual answer is a hosted vendor, a timeboxed spike on an MIT-licensed bundle is a low-cost way to learn what your team actually requires — targeting? audit logs? approval workflow? — before signing a contract. The learning is the deliverable, not the adoption.
  • Deprecation and migration management. Long-lived toggles let you ship a new code path beside an old one, migrate cohorts gradually, and retire the legacy path with evidence rather than optimism. Directly applicable to pricing changes, data-model migrations, and third-party vendor swaps.
  • Roadmap sequencing for entitlements. Flags can approximate coarse plan-based gating early, deferring a premature billing/entitlements build. This is a real sequencing bet: approximate with flags for two quarters, or build entitlements now?
  • Limited experimentation readiness. Boolean flags can support basic A/B splits if bucketing is deterministic per user. Verify this before promising experiment results — a toggle is not an experimentation platform, and a PM who conflates the two will over-commit.

Decision-record caveat: the package name and *Bundle structure indicate a Symfony bundle, not a Laravel package. For Laravel, the first-party answer is Laravel Pennant. Do not let this enter a Laravel roadmap as a dependency without confirming framework compatibility first — the PM-facing risk is a roadmap commitment made on a false technical premise.

When to Consider This Package

Consider it when:

  • You are on Symfony, not Laravel. Confirm this first; it is the single largest disqualifier and invalidates most of the value case below.
  • You need simple on/off flags — not sticky-bucketed rollouts, not audience targeting, not multivariate experiments.
  • Zero vendor dependency and zero per-seat cost matter, and you are willing to self-host flag state (config, database, or cache).
  • The team is small enough that ad-hoc conditional logic has become a maintenance drag, but not large enough to justify a procurement cycle.
  • You can absorb a low-signal dependency: 3 stars, 0 dependents means no community, no third-party battle-testing, and no realistic expectation of upstream responsiveness. Treat it as a starting point or reference implementation, never as hardened infrastructure.

Look elsewhere when:

  • You are on Laravel. Use Laravel Pennant (first-party, maintained) or a hosted vendor. This package is almost certainly the wrong tool.
  • You need targeting rules, segmentation, experiment statistics, or audit trails — the minimum bar for anything a PM must defend to legal, compliance, or finance.
  • The feature is regulated, revenue-critical, or safety-adjacent. Flag state becomes a production control plane; a 3-star dependency is not an appropriate home for that.
  • You need change history, approval workflows, or RBAC on who can flip a flag. Ungoverned toggles are how "temporary" flags become permanent, undocumented behavior.
  • Your team has no appetite for forking. At this adoption level, assume you may become the maintainer.

Diligence before any commitment: confirm PHP/Symfony version support, whether flag state is persisted or in-memory, whether the read path is cache-backed, whether per-user bucketing is deterministic, and whether there is test coverage. If those checks fail, the decision is not "adopt this" — it is "build a thin internal flag layer" or "buy."

How to Pitch It (Stakeholders)

To executives: Feature flagging is a risk-reduction and velocity capability, not a feature. It lets us ship code continuously while controlling exactly who sees what and when, and it gives us a one-switch rollback that doesn't require a redeploy. Launches become incremental and reversible, which lowers the cost of being wrong and shortens the gap between "built" and "earning." This specific package is a low-cost way to evaluate the capability — MIT-licensed, self-hosted, no contract, cheap to abandon. It is not a strategic bet on a vendor. The real decision on the table is whether we invest in flagging as a discipline — governance, cleanup, ownership — because the tool choice is secondary and reversible. Note plainly: the package appears to be Symfony-oriented, so if our stack is Laravel we evaluate Pennant instead and this becomes a reference point, not a dependency.

To engineering: Self-hosted toggle container, no vendor lock-in, no per-seat cost. The honest framing: this is a small, low-adoption package (3 stars, no dependents, score near the floor), so we treat it as a thin abstraction or reference implementation — not infrastructure we depend on blindly. Verify Symfony compatibility before spiking; Laravel teams should default to Pennant. Whatever we choose, define a first-party FeatureFlag interface and bind the package behind it, which caps migration cost at one class if it's abandoned. If we adopt it, we own the failure modes: flag sprawl, stale flags, missing audit history, per-instance drift under long-lived workers, and cold-start behavior when the flag store is unavailable. The cheapest mitigation is a hard rule from day one — every flag has an owner, an expiry date, and a cleanup ticket. Recommend a timeboxed spike: two flags, one rollout, one kill switch, measured against how much conditional logic it actually removes. If the answer is "not much," the right call is no tool at all.

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.
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus