frozzare/features

Simple package for feature flagging interface/implementation

Fund package maintenance!
www.buymeacoffee.com/frozzare

Installs: 92

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0

Type:utility

v1.0.2 2018-04-25 06:39 UTC

This package is auto-updated.

Last update: 2022-07-25 21:17:45 UTC


README

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