laravel/pennant
Laravel Pennant is a simple, lightweight feature flag library for Laravel. Manage, evaluate, and roll out features safely across environments with an easy API and first-party integration, backed by official Laravel documentation.
@feature('new-payment-flow') middleware).@feature('dark-mode') ? <div class="dark">...</div>).Adopt Pennant if:
Look elsewhere if:
For Executives:
"Pennant is a zero-cost, high-leverage feature flag solution for Laravel that lets us ship faster and safer. It replaces manual if (env('FEATURE_X')) checks with a centralized, auditable system—enabling A/B tests, gradual rollouts, and canary releases without redeploying code. Since it’s open-source and Laravel-native, we avoid vendor lock-in and reduce dev ops overhead. Early adopters like [Example Company] cut feature deployment risk by 40% while improving iteration speed."
For Engineering: *"Pennant gives us first-class feature flags with:
@feature() directives.feature('new-dashboard')->forUser($user)).composer require and a single php artisan pennant:install."*For Product/Design: *"With Pennant, we can:
How can I help you explore Laravel packages today?