Download the PHP package flags/php-sdk without Composer
On this page you can find all versions of the php package flags/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download flags/php-sdk
More information about flags/php-sdk
Files in flags/php-sdk
Download flags/php-sdk
More information about flags/php-sdk
Files in flags/php-sdk
Vendor flags
Package php-sdk
Short Description An SDK for the Flags application written in PHP.
License
Package php-sdk
Short Description An SDK for the Flags application written in PHP.
License
Please rate this library. Is it a good library?
Informations about the package php-sdk
flags-php-sdk
An SDK for the Flags application written in PHP
Installation
Usage
- Obtain an auth token
The authorizer will return the same user instance with a fresh token.
- Define the flag you want to evaluate
Here, $flagIdentifier
is a string, corresponding to the flag's token.
- Evaluate the flag
Here, $applicationUser
is a string representing the application user's identifier.
Demo
You can see a working example by running php examples/demo.php
. You will need to provide valid user information in examples/demo.json
.
Contributing
-
Clone this repo.
-
Run from the root directory.
- Check everything is working by running the tests via
All versions of php-sdk with dependencies
PHP Build Version
Package Version
The package flags/php-sdk contains the following files
Loading the files please wait ....