gonzalo123/androidpusher

tool to send push notifications to android devices

dev-master / 1.0.x-dev 2015-12-27 13:50 UTC

This package is not auto-updated.

Last update: 2020-09-18 18:16:48 UTC


README

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());