gonzalo123/androidpusher

tool to send push notifications to android devices

Installs: 997

Dependents: 0

Suggesters: 0

Security: 0

Stars: 50

Watchers: 14

Forks: 29

Open Issues: 0

pkg:composer/gonzalo123/androidpusher

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

This package is not auto-updated.

Last update: 2025-09-27 19:43:51 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());