Feature toggling for your PHP application
PHP
Latest commit 178b412 May 3, 2016 @wjzijderveld wjzijderveld Merge pull request #34 from bertramakers/issues/27
Don't require an associative array for serialized toggles.

README.md

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.