Skip to content

Simple package for feature flagging interface/implementation

License

Notifications You must be signed in to change notification settings

frozzare/php-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple package for feature flagging interface/implementation

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages