Laravel Pennant: first-party feature flags
In this video, I give you an overview of Laravel Pennant, a first-party feature flag library for Laravel that makes it easy to manage feature rollouts and A/B testing within your applications. We’ll explore how to set up and use Laravel Pennant, define and resolve feature flags, and integrate them into your views, middleware, and application logic for seamless feature management. Thanks to Bento for sponsoring this video! Check them out at aaronfrancis.com/bento. Follow Aaron: Twitter: / aarondfrancis LinkedIn: / aarondfrancis Website: https://aaronfrancis.com - find articles, podcasts, courses, and more. Featured in this episode: Docs: https://laravel.com/docs/11.x/pennant Chapters: 00:00 - Introduction to Laravel Pennant 00:24 - What is Laravel Pennant? 01:07 - Installing Laravel Pennant 01:41 - Setting Up Configuration and Migration 02:23 - Understanding Feature Stores 03:02 - Defining a New Feature Flag 05:00 - Resolving Feature Flags in Middleware and Views 06:40 - Checking Feature Flags for Different Users 07:59 - Persisting Resolved Feature Flags in the Database 08:34 - Using Lottery to Randomly Assign Feature Flags 09:28 - Implementing Feature Flag Middleware 10:24 - Defining Non-Boolean Feature Flags (e.g., Themes) 11:35 - Clearing Feature Flag Data from the Database 12:09 - Resolving Feature Flags in Blade Templates 13:46 - Using Blade Directives for Complex Feature Logic 14:10 - Check Out My Video on Laravel Octane

Laravel Dusk: painless browser automation

Laravel Octane: supercharge your Laravel applications

How To Build Feature Flags Like A Senior Dev In 20 Minutes

Laravel 13 Demo: JSON:API + Spatie Query Builder + Scramble API Docs

PHP-FPM vs FrankenPHP Classic Performance: What is faster?

Laravel Horizon: queue monitoring + configuration

Why the Laravel Service Container is the Key to Better Dependency Management

Laravel vs React

Dive Deeper with Actions

5 SaaS UI/UX mistakes that SCREAM you Vibe Code

How to scale Laravel: beyond the basics (Advanced Laravel Scaling)

Laravel + Livewire todo app (and so much more)

I'm new to testing in Laravel (Watch me learn)

Speed up your Inertia.js website with these 7 tactics

Pennant - Release features with confidence

Shadcn/ui but for Laravel

Laravel Serializable Closure: serialize the unserializable

3. Apache Kafka Fundamentals | Apache Kafka Fundamentals

The Moment That Changed Software Development!

