twentytwo-labs/api-service-feature-flag 问题修复 & 功能扩展

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

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

twentytwo-labs/api-service-feature-flag

最新稳定版本:1.0.1

Composer 安装命令:

composer require twentytwo-labs/api-service-feature-flag

包简介

Bundle to manage features flag

README 文档

README

Using ApiServiceBundle to store Twentytwo Labs Feature Flags.

Configuration

# config/packages/twentytwo_labs_feature_flag.yaml
twentytwo_labs_feature_flag:
   managers:
      admin:
         factory: twenty-two-labs.feature-flags.factory.api-service
         options:
            client: 'API_SERVICE_ID'
            collection:
               operationId: COLLECTION_OPERATION_ID
               mapper:       #optional
                  page: page #default
               params:
                  accept: 'application/hal+json'
                  itemsPerPage: 30
            item:
               operationId: ITEM_OPERATION_ID
               mapper:
                  identifier: IDENTIFIER

where:

  • API_SERVICE_ID is an api service id starting with @
  • COLLECTION_OPERATION_ID is operationId for get all features
  • ITEM_OPERATION_ID is operationId for get one feature by IDENTIFIER
  • IDENTIFIER is a field in HTTP response

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-25