Feature flags allow you to remotely enable and disable features without deploying new code. Begin by installing the package with Composer and running the migrations: composer require ryangjchandler/laravel-feature-flags php artisan vendor:publish --tag="feature-flags-migrations" php artisan migrate
To check if this flag is enabled or disabled, you can use the Features::enabled() and Features::disabled() methods. It's probably quite common to conditionally render parts of your Blade templates based on a feature flag.
If you're using https://filamentphp.com, there is an additional package that provides a simple UI for managing feature flags.