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: 2024-11-09 14:55:32 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());