digitalincentives / incenti
Unofficial Incenti PHP SDK
0.0.4
2023-04-11 17:34 UTC
Requires
- php: ^8
- guzzlehttp/guzzle: ^7.4
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.7
Suggests
- ramsey/uuid: ^4
This package is auto-updated.
Last update: 2024-12-11 21:39:30 UTC
README
![Latest Version on Packagist][ico-version]
This is an unofficial Incenti SDK.
Official Documentation: https://www.incenti.me/api-documentation/
Install
Via Composer
$ composer require alldigitalrewards/incenti
Usage
require __DIR__ . '/../vendor/autoload.php'; use DigitalIncentives\Incenti\IncentiSdk; $client = new IncentiSDK('https://api.example.com/','client-id', 'client-secret'); foreach ($client->listAllProducts() as $product) { var_dump($product); }
See examples in the examples folder.
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email jhoughtelin@alldigitalrewards.com instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.