PHP code example of easilydo / sift-php-sdk
1. Go to this page and download the library: Download easilydo/sift-php-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
easilydo / sift-php-sdk example snippets
$siftApi = new Easilydo\SiftApi('api_key', 'api_secret');
try {
$response = $sift->addUser('en_US', 'testuser');
} catch(Easilydo\Exceptions\SiftRequestException $e) {
echo 'SiftApi returned an error: ' . $e->getMessage();
}