vladdnepr / adm-notify
ADM Notify - Amazon Device Messaging for amazon devices
Installs: 1 029
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ^6.1
Requires (Dev)
- phpunit/phpunit: ~4.5
This package is auto-updated.
Last update: 2025-05-25 08:53:33 UTC
README
ADM Notify - Amazon Device Messaging for amazon devices
Library is in initial development.
Anything may change at any time.
Using
$notify = \vladdnepr\amazon\adm\Notify;
$notify->clientId = 'CLIENT_ID';
$notify->clientSecret = 'CLIENT_SECRET';
$notify->sendData('DEVICE_ID', ['key1' => 'value1', 'key2' => 'value2']);
$notify->sendMessage('DEVICE_ID', 'MESSAGE');
Installation
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this package using the following command:
php composer.phar require "vladdnepr/adm-notify" "*"
or add
"vladdnepr/adm-notify": "*"
to the require section of your application's composer.json
file.
Contributing
Please see CONTRIBUTING for details.
Credits
License
Public domain. Please see License File for more information.