PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Marcel Pociot   PHP Feature Switch   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Feature Switch
Activate, deactivate and store feature values
Author: By
Last change:
Date: 5 years ago
Size: 351 bytes
 

Contents

Class file image Download

PHP Feature Switcher (WIP)

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)
);

License

The PHP Feature Switcher is free software licensed under the MIT license.