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.
Classes of Marcel Pociot | > | PHP Feature Switch | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
|
Groups | Applications | Files |
Groups |
PHP 5 | Classes using PHP 5 specific features | View top rated classes |
Data types | Modeling and manipulating data types | View top rated classes |
Configuration | Configuration formats parsing and generation | View top rated classes |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
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 |
Download all files: feature-switch.tar.gz feature-switch.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|