0044-laravel-feature-flags

Community

Ship safely with Laravel Pennant feature flags

AuthorMrJmpl3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Feature flags help teams release changes safely by controlling what users see without redeploying, reducing risk during rollouts and experiments.

Core Features & Use Cases

  • Defining feature rules: Create closure-based boolean flags, class-based resolution logic, and flags with rich values for A/B testing (e.g., variant assignments).
  • Scoping and targeting: Apply flags to different scopes including authenticated users, nullable scopes for guests, and custom scopes like teams.
  • Safe rollout behavior: Use gradual rollouts, conditional execution, and programmatic activation/deactivation for deterministic admin workflows and testing.
  • Framework integration: Use Blade directives, middleware guards, and store/load behavior with optional eager loading to avoid repeated checks.
  • Operational controls & testing: Activate/deactivate per user or for everyone, purge stored resolutions, and test deterministically using the array driver.

Quick Start

Install Laravel Pennant, define your features in a service provider, then check them in routes or Blade templates to control access and UI behavior for each user.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 0044-laravel-feature-flags
Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0044-laravel-feature-flags

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.