pennant-development

Manage Laravel feature flags with Pennant for user-specific activation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/thnakon/babybib-v2 --skill pennant-development-thnakon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pennant-development
Source: https://github.com/thnakon/babybib-v2/tree/main/.agents/.crush/skills/pennant-development
Command: npx skills add https://github.com/thnakon/babybib-v2 --skill pennant-development-thnakon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires laravel, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the management of feature flags in Laravel projects, allowing for efficient deployment of feature toggles and A/B testing.

Core Features & Use Cases

  • Feature Flag Management: Define, activate, and deactivate feature flags.
  • User-Specific Scoping: Apply feature flags to specific users or teams.
  • Custom Storage Drivers: Build custom Pennant storage solutions.
  • Route Protection: Safeguard routes with feature flags.
  • Testing: Utilize Pest or PHPUnit for testing feature flags.
  • Use Case: When you need to roll out a new feature to a subset of users or want to conduct A/B testing, this Skill helps you do it efficiently.

Quick Start

Use the pennant-development skill to define a new feature flag for the 'new-dashboard' feature and activate it for the admin user.

Frequently Asked Questions about pennant-development

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

FAQPage Schema
How do I manage Laravel feature flags for specific users?

You can manage Laravel feature flags for specific users by scoping activation rules within the Pennant package, applying toggles directly to targeted user or team models for controlled rollouts.

Can I use Laravel Pennant to protect routes with feature toggles?

Yes, you can use Laravel Pennant to protect routes by applying feature toggle middleware, safeguarding application endpoints and automatically blocking access when a feature flag is deactivated.

How do I test feature flags in Laravel using Pest or PHPUnit?

You can test feature flags in Laravel by utilizing built-in testing helpers within Pest or PHPUnit, verifying active and inactive states to ensure your feature toggles execute correctly during automated test runs.

Does Laravel Pennant support custom storage drivers for feature flags?

Yes, Laravel Pennant supports custom storage drivers, allowing you to build and configure specialized storage solutions to persist feature flag states according to your application requirements.

What is the best way to run A/B testing in a Laravel application?

The best way to run A/B testing in Laravel involves using the Pennant package to define feature flags, allowing you to efficiently deploy feature toggles and gradually roll out variants to a subset of users.