alldigitalrewards / wegift
Unofficial WeGift SDK
0.0.3
2022-08-09 11:37 UTC
Requires
- guzzlehttp/guzzle: ^7.4
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-12-09 16:26:19 UTC
README
This is an unofficial WeGift SDK.
Official Documentation: https://docs.wegift.io/
Install
Via Composer
$ composer require alldigitalrewards/wegift
Usage
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.
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.