Skip to content

frozzare/php-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages