craftquest/craft-feature-flags

Runtime feature flags for Craft CMS with targeting rules, percentage rollouts, and audit logging.

Maintainers

Package info

github.com/CraftQuest/craft-feature-flags

Documentation

Type:craft-plugin

pkg:composer/craftquest/craft-feature-flags

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-05-15 23:13 UTC

This package is auto-updated.

Last update: 2026-05-16 18:48:58 UTC


README

Runtime feature flags for Craft CMS with targeting rules, percentage rollouts, and audit logging.

Requirements

  • Craft CMS 5.3.0 or later
  • PHP 8.2 or later

Installation

You can install this plugin from the Craft Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your Craft control panel, search for "Feature Flags", and click Install.

With Composer

Run the following commands from your project directory for DDEV:

ddev composer require craftquest/craft-feature-flags
ddev craft plugin/install feature-flags
composer require craftquest/craft-feature-flags
php craft plugin/install feature-flags

Usage

{% 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
}

Documentation

Full documentation is available at craftquest.io/plugins/feature-flags.