This is an unofficial WeGift SDK.
Official Documentation: https://docs.wegift.io/
Via Composer
$ composer require alldigitalrewards/wegift
require __DIR__ . '/../vendor/autoload.php';
use AllDigitalRewards\WeGift\Client;
$client = new Client('user-id', 'api-key');
foreach ($client->listAllProducts() as $product) {
var_dump($product);
}
See examples in the examples folder.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.