craftquest/craft-feature-flags
Composer 安装命令:
composer require craftquest/craft-feature-flags
包简介
Runtime feature flags for Craft CMS with targeting rules, percentage rollouts, and audit logging.
README 文档
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.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2026-05-15