craftquest/craft-feature-flags 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-05-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固