kangaroorewards / kangaroorewards-php-sdk
Kangaroo Rewards API
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kangaroorewards/kangaroorewards-php-sdk
Requires
- php: >=5.5.0
- ext-curl: *
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.0
- squizlabs/php_codesniffer: ~2.0
This package is auto-updated.
Last update: 2025-11-09 16:05:33 UTC
README
Requirements
The following versions of PHP are supported.
- PHP 5.6
Installation
Add the following to your composer.json file.
{
"require": {
"kangaroorewards/KangarooRewards-PHP-SDK": "~2.0"
}
}
Usage
$api = new KangarooApi([ 'access_token' => {ACCESS_TOKEN}, ]); $resourceOwner = $api->me(); $customer = $api->getCustomer({CUSTOMER_ID}, ['include' => ['balance']]); $offers = $api->getOffers();
Credits
License
The MIT License (MIT). Please see License File for more information.