vladdnepr/adm-notify

ADM Notify - Amazon Device Messaging for amazon devices

0.1 2015-10-20 12:28 UTC

This package is auto-updated.

Last update: 2024-10-25 07:34:13 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.