Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (13) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 124 | All time: 9,443 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.
Files |
File | Role | Description | ||
---|---|---|---|---|
src (1 directory) | ||||
tests (2 files) | ||||
.editorconfig | Data | Auxiliary data | ||
.styleci.yml | Data | Auxiliary data | ||
.travis.yml | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | src | / | Mpociot | / | FeatureSwitch |
File | Role | Description | ||
---|---|---|---|---|
Storage (2 files) | ||||
Feature.php | Class | Class source | ||
FeatureSwitch.php | Class | Class source | ||
NullFeature.php | Class | Class source |
Files | / | src | / | Mpociot | / | FeatureSwitch | / | Storage |
File | Role | Description |
---|---|---|
ArrayStorage.php | Class | Class source |
StorageContract.php | Class | Class source |
Files | / | tests |
File | Role | Description |
---|---|---|
FeatureSwitchTest.php | Class | Class source |
FeatureTest.php | Class | Class source |
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.