lokielse / tencent-xg-push
The PHP SDK for Tencent XGPush
v1.0.4
2016-03-03 09:22 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: 4.*
README
The PHP SDK for Tencent XGPush
Install
Via Composer
$ composer require lokielse/tencent-xg-push
Usage
$client = new XGPush(<your_access_id>, <your_secret_key>); $client->createMultiplePush(...) $client->pushAllAndroid(...) $client->queryTokenTags(...) $client->pushAccountAndroid(...) $client->pushAllDevices(...) $client->batchDeleteTag(...) $client->pushAllIOS(...) $client->pushTagsIOS(...) $client->pushAccountMass(...) $client->batchSetTag(...) $client->pushTagsAndroid(...) $client->cancelTimingPush(...) $client->queryTagTokenCount(...) $client->queryDeviceCount(...) $client->queryTokensOfAccount(...) $client->queryInfoOfToken(...) $client->pushTokenIOS(...) $client->pushSingleAccount(...) $client->pushDeviceMass(...) $client->pushTags(...) $client->queryTags(...) $client->pushAccounts(...) $client->pushAccountIOS(...) $client->queryPushStatus(...)
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email lokielse@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.