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 Flags Laravel Package

worksome/feature-flags

A Laravel package for managing feature flags with typed flag classes and model-based scopes. Define flags in code, toggle them per user or entity, and roll out features gradually with a clean, testable API.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Decoupling deploy from release. The core PM value of a feature-flag package is shipping code dark and turning it on when the business is ready. This package supports that decision without adding a third-party SaaS dependency to your vendor stack — flags live in your own database, under your own access control.
  • Build vs. buy for feature management. The realistic comparison is not "package vs. nothing" but "package vs. LaunchDarkly/Flagsmith/Unleash vs. hand-rolled boolean column." This package is the credible middle option: a maintained, Laravel-idiomatic implementation of the pattern your team would otherwise rebuild badly in a sprint. Choose it when you want flag capability without a procurement cycle, a data-processing agreement, or a per-seat bill.
  • Incremental delivery and trunk-based development. Enables the roadmap commitment to "ship continuously behind flags," which is usually the enabling decision for moving off long-lived release branches and release trains.
  • Kill switches and operational risk reduction. A flag layer gives on-call the ability to disable a risky capability without a rollback-and-redeploy. This is a reliability decision as much as a product one, and it is often the easiest executive justification.
  • Progressive rollout and audience targeting. Supports staged exposure decisions (internal → beta cohort → percentage → GA) as a product strategy rather than a marketing afterthought.
  • Not supported by this release alone: experimentation/statistical analysis, A/B test measurement, or a non-engineer flag-management UI. Those are the decisions that push you toward a commercial platform.

When to Consider This Package

Adopt when most of the following hold:

  • You are a Laravel shop. This release adds Laravel 13 support, which signals the maintainers track framework releases promptly. That matters: the single largest hidden cost of a small package is upgrade lag that blocks your own framework upgrades.
  • You want flags in your own infrastructure. No external network call in the request path, no vendor in your data-flow diagram, no per-MAU pricing. Good fit for regulated, on-prem, or cost-sensitive contexts.
  • Your flag needs are product-shaped, not experiment-shaped. Gating features, staged rollouts, internal-only access, and kill switches. If you need statistically rigorous experiments, holdout measurement, or a self-serve UI for PMs and marketers, look at a commercial platform instead.
  • You have engineering appetite for a small dependency. This is a focused, community-maintained package, not a platform with a support contract. Assess bus factor and release cadence before betting a launch calendar on it.
  • Volume is modest. Database-backed flags are simple and transparent but are not designed as a high-throughput evaluation engine with SDK-side streaming. At very large scale or with hundreds of flags, revisit.

Look elsewhere if you need PM-owned flag administration without engineering involvement, cross-service flag evaluation in non-PHP services (Go, Node, mobile clients), audit trails for compliance, or guaranteed SLAs.

On v5.1.0 specifically: this is a low-risk maintenance release — Laravel 13 compatibility plus a CI dependency bump. No breaking changes, no deprecations, no new product capability. It does not change the adoption calculus, but it does remove a near-term objection ("will it work when we upgrade Laravel?") and it is a positive maintenance signal from a small maintainer team, which is the main risk with packages of this size.

How to Pitch It (Stakeholders)

To executives (one paragraph): We are evaluating a small, free, open-source Laravel package that lets us release features to customers gradually rather than all at once, and switch them off instantly if something goes wrong. It runs entirely inside our own systems — no new vendor, no per-user fees, no customer data leaving our infrastructure. The commercial alternative costs a recurring subscription for capability we would use only partially. The trade-off is that it is community-maintained rather than a supported product, so the risk is maintenance continuity, not cost or lock-in. The latest release confirms the maintainers are keeping pace with the current Laravel version, which is the specific thing that would have bitten us later.

To engineering: Low-commitment, low-risk dependency — Laravel-native, database-backed, no external service in the request path. v5.1.0 adds Laravel 13 support with no breaking changes, so it is safe to trial on a non-critical feature immediately. Please verify the maintenance cadence and confirm it fits our flag volume and evaluation-path expectations before we make it the default for launch gating; if it does not, we fall back to the pattern and revisit tooling later.

To the PM's own recommendation: Treat this as a reversible, low-cost decision to be validated on one real feature launch, not a platform commitment. The failure mode is not lock-in — it is over-investing in flag infrastructure before we have the release discipline to use it.

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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle