Runtime feature flags for Craft CMS with targeting rules, percentage rollouts, and audit logging.
- Craft CMS 5.3.0 or later
- PHP 8.2 or later
You can install this plugin from the Craft Plugin Store or with Composer.
Go to the Plugin Store in your Craft control panel, search for "Feature Flags", and click Install.
Run the following commands from your project directory for DDEV:
ddev composer require craftquest/craft-feature-flags
ddev craft plugin/install feature-flagscomposer require craftquest/craft-feature-flags
php craft plugin/install feature-flags{% if craft.featureFlags.isEnabled('new-checkout') %}
{# Show the redesigned checkout flow #}
{% include '_checkout/new' %}
{% endif %}use craftquest\featureflags\FeatureFlags;
if (FeatureFlags::getInstance()->evaluationService->isEnabled('new-checkout')) {
// Feature is enabled for the current user
}Full documentation is available at craftquest.io/plugins/feature-flags.