pennant-development

Manage Laravel Pennant feature flags across routes, controllers, and views.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Sivanwol/sabo-platfom --skill pennant-development-sivanwol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pennant-development
Source: https://github.com/Sivanwol/sabo-platfom/tree/main/.agents/skills/pennant-development
Command: npx skills add https://github.com/Sivanwol/sabo-platfom --skill pennant-development-sivanwol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pennant-based feature flags simplify turning features on/off in Laravel apps, enabling controlled releases and safer deployments.

Core Features & Use Cases

  • Define and manage feature flags in app/Features
  • Gate routes and Blade views with Feature::active and the @feature Blade directive
  • Build custom Pennant storage drivers and test flag behavior across teams or users
  • Support A/B testing and gradual rollouts with feature flags

Quick Start

Define a feature in app/Features, then guard routes and Blade views with Feature::active or the @feature directive.

Frequently Asked Questions about pennant-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use Laravel Pennant for feature flags in my application?

You can use Laravel Pennant feature flags to control feature access by defining them in app/Features and guarding routes or Blade views with Feature::active or the @feature directive for safer deployments.

What is the best way to gate Blade views with feature flags in Laravel?

The best way to gate Blade views with feature flags in Laravel is using the @feature Blade directive, which checks if a Pennant flag is active before rendering specific view sections for users or teams.

Can I scope feature flags to specific users or teams for gradual rollouts?

Yes, you can scope Laravel Pennant feature flags to specific users or teams, enabling controlled access that supports A/B testing and gradual rollouts across different application segments.

How do I test feature flag behavior across different user segments?

You can test feature flag behavior by applying feature checks across routes and controllers, documenting best practices for defining, activating, and auditing flag behavior to ensure safe deployments across teams.

Does Laravel Pennant support custom storage drivers for feature flags?

Yes, Laravel Pennant supports building custom storage drivers, allowing you to define, activate, and audit feature flags according to your specific application requirements and infrastructure.