frozzare / features
Simple package for feature flagging interface/implementation
Fund package maintenance!
v1.0.2
2018-04-25 06:39 UTC
Requires
- php: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.3
This package is auto-updated.
Last update: 2026-02-26 05:01:31 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