easilydo/sift-php-sdk

A PHP wrapper around Sift API

Installs: 105

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 35

Forks: 1

Open Issues: 1

pkg:composer/easilydo/sift-php-sdk

v1.0.1 2018-12-17 23:16 UTC

This package is not auto-updated.

Last update: 2025-10-12 01:44:51 UTC


README

A PHP wrapper around Sift API. Supports PHP versions >5.4 and >7.0.

Installation

composer require easilydo/sift-php-sdk

Usage

POST /v1/users

$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();
}

Tests

Ensure all dependencies are installed by running php composer.phar install, or composer install if you have composer installed globally.

bin/phpspec run runs all tests.

Documentation

Documentation for the SDK can be found here.

Changelog

Changelog can be found here.