Download the PHP package clsmedia/feature-flag without Composer
On this page you can find all versions of the php package clsmedia/feature-flag. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download clsmedia/feature-flag
More information about clsmedia/feature-flag
Files in clsmedia/feature-flag
Download clsmedia/feature-flag
More information about clsmedia/feature-flag
Files in clsmedia/feature-flag
Vendor clsmedia
Package feature-flag
Short Description Set feature flag via .env or cookies
License MIT
Package feature-flag
Short Description Set feature flag via .env or cookies
License MIT
Please rate this library. Is it a good library?
Informations about the package feature-flag
clsmedia\feature-flag
A simple package to handle feature-flags via .env or cookie.
Define via .env
If you are using .env then just define a list of your Feature Flags
Define via cookie
You can also define a list of Feature Flags in a cookie:
Usage
FeatureFlag::isActive('feature1')
returns true
if it finds the environment variable FEATURE_FLAGS='feature1'
or when the cookie FEATURE_FLAGS='feature1'
is set.
see index.php
for an example
All versions of feature-flag with dependencies
PHP Build Version
Package Version
No informations.
The package clsmedia/feature-flag contains the following files
Loading the files please wait ....