PHP
What else to say? :)
In your
composer.json
file, add the following package:{
"require": {
"progressively/sdk-php": "dev-fix-packagist"
}
}
And finally, run the following inside your terminal:
$ composer install
$option = array(
"apiUrl" => "your url server"
);
$sdk = Progressively::create("YOUR_ENVIRONMENT_KEY", $option);
$sdk->isActivated('theFlagKey');
In the future, this function will change its name to better reflect the way Progressively deals with feature flags.
Last modified 1mo ago