SDKs
Php

PHP

Installation

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

Usage

Create an SDK instance

$option = array(
    "apiUrl" => "your url server"
);
 
$sdk = Progressively::create("YOUR_ENVIRONMENT_KEY", $option);
 

Check the variant of a flag

Retrieve the status of a given flag by its key.

$sdk->isActivated('theFlagKey');