Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 504 Bytes

readme.md

File metadata and controls

35 lines (22 loc) · 504 Bytes

features Build Status

Simple package for feature flagging interface/implementation.

Installation

$ composer require frozzare/features

Example

features([
    'log' => false
]);

...

features()->enable('log');

...

if (features()->enabled('log')) {
    ...
}

...

features()->disable('log');

License

MIT © Fredrik Forsmo