tool to send push notifications to android devices
PHP
Switch branches/tags
Nothing to show
Clone or download
Latest commit 87e6050 Dec 27, 2015
Permalink
Failed to load latest commit information.
lib/AndroidPusher initial import Jul 22, 2013
.gitignore initial import Jul 22, 2013
LICENSE License Dec 4, 2015
README.md README Jul 22, 2013
composer.json composer Dec 27, 2015
example.php README Jul 22, 2013

README.md

Simple library to send push notifications to android devices

// https://code.google.com/apis/console/
$apiKey = "myApiKey";
$regId = "device reg ID";

$pusher = new AndroidPusher\Pusher($apiKey);
$pusher->notify($regId, "Hola");

print_r($pusher->getOutputAsArray());