Toggle

为您的 PHP 应用程序切换功能。「Feature toggling for your PHP application」

Github stars Tracking Chart

Toggle

Feature toggling for PHP.

Build Status

About

Read our blog post series about this repository at:

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:

$ phpunit

License

MIT, see LICENSE.

Main metrics

Overview
Name With Ownerqandidate-labs/qandidate-toggle
Primary LanguagePHP
Program languagePHP (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2014-08-18 14:02:21
Pushed At2024-10-07 03:39:24
Last Commit At2024-03-08 18:38:30
Release Count13
Last Release Name2.0.2 (Posted on )
First Release Name0.1.0 (Posted on 2014-08-18 16:28:35)
用户参与
Stargazers Count381
Watchers Count22
Fork Count37
Commits Count157
Has Issues Enabled
Issues Count7
Issue Open Count0
Pull Requests Count61
Pull Requests Open Count4
Pull Requests Close Count29
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private