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
Requires
- php: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.3
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