承接 opengento/feature-toggle2 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

opengento/feature-toggle2

Composer 安装命令:

composer require opengento/feature-toggle2

包简介

README 文档

README

by Opengento

Logo Opengento Feature Toggle for Magento 2

This module allows you to use the Feature Flags, or sometimes called "Feature Toggle" functionality.

To use a toggle, you just have to call the helper, like this:

/* @var $toggleHelper \Opengento\FeatureToggle2\Helper\Toggle */
if ($toggleHelper->isToggleActive('my-feature-flag')) {
    // Toggle activated
} else {
    // Toogle inactive
}

XML sample

The filename is toggles.xml, and you have to put it in the etc/ directory of your module.

<?xml version="1.0"?>
<toggles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Opengento_FeatureToggle2:etc/toggles.xsd">
    <toggle id="my-feature-flag">
        <label>My Feature Flag</label>
        <description>This feature flag is a sample toggle.</description>
    </toggle>
</toggles>

Contributing

See CONTRIBUTING.md.

Maintainers

See Contributors list.

统计信息

  • 总下载量: 799
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 21
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固