frozzare/features

Simple package for feature flagging interface/implementation

Fund package maintenance!
www.buymeacoffee.com/frozzare

Installs: 93

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: 2024-10-26 02:12:14 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