qandidate/toggle
最新稳定版本:2.0.2
Composer 安装命令:
composer require qandidate/toggle
包简介
Feature toggling for your PHP application.
README 文档
README
Feature toggling for PHP.
About
Read our blog post series about this repository at:
- http://labs.qandidate.com/blog/2014/08/18/a-new-feature-toggling-library-for-php/
- http://labs.qandidate.com/blog/2014/08/19/open-sourcing-our-feature-toggle-api-and-ui/
Installation
Add the library to your project:
$ composer require qandidate/toggle ^1.0
How to use
In the examples folder you'll see the basic usage of the Toggle library.
Basically you create a collection with features, optionally with conditions. Based on a given Context, the manager will tell you if a feature is active or not.
Tests
To run all the tests you'll need to have redis installed (redis tests wil be skipped when not available).
Running the tests:
$ make test
License
MIT, see LICENSE.
统计信息
- 总下载量: 1.95M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 383
- 点击次数: 1
- 依赖项目数: 11
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-18