filmov
tv
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.
Follow Aaron:
Featured in this episode:
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
Follow Aaron:
Featured in this episode:
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
Комментарии