| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 124 | All time:  9,460 This week: 560 | ||||
| Version | License | PHP version | Categories | |||
| feature-switch 1.0 | MIT/X Consortium ... | 5 | PHP 5, Data types, Configuration | 
| Description | Author  | |||||||||||||||||||||||
This package can activate, deactivate and store feature values. Innovation Award  | 
  | |||||||||||||||||||||||
A PHP feature switcher / feature toggle library with a fluent, easy to use, API.
$switch = new FeatureSwitch(new ArrayStorage());
$switch->activate(
    (new Feature())
        ->name('Chat')
        ->percentage(50)
);
The PHP Feature Switcher is free software licensed under the MIT license.
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Doc. | Documentation | |||
| / | src | / | Mpociot | / | FeatureSwitch | 
| File | Role | Description | ||
|---|---|---|---|---|
|    | 
Class | Class source | ||
|    | 
Class | Class source | ||
|    | 
Class | Class source | ||
| / | src | / | Mpociot | / | FeatureSwitch | / | Storage | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Class source | 
|    | 
Class | Class source | 
| / | tests | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Class source | 
|    | 
Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| User Comments (2) | ||||||||
  | ||||||||
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.