2017 © Pedro Peláez
 

library php-notify-my-android

PHP library for NotifyMyAndroid.com which does not require cURL

image

snider/php-notify-my-android

PHP library for NotifyMyAndroid.com which does not require cURL

  • Tuesday, October 17, 2017
  • by snider
  • Repository
  • 5 Watchers
  • 14 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 11 Forks
  • 4 Open issues
  • 4 Versions
  • 10 % Grown

The README.md

SensioLabsInsight, (*1)

snider/php-notify-my-android

This is a PHP library for [NotifyMyAndroid.com]0 that does not require curl., (*2)

If you find a bug, or think of an improvement, please fork the repository and submit a pull request., (*3)

I have had a nexus 5 since it came out and am now actually using the lib. If I find any improvements, I can test them myself. :) Yay!, (*4)

Usage

A basic approach at using this package could look like this:, (*5)

<?php
namespace snider\NotifyMyAndroid;

require_once realpath(__DIR__ . '/vendor') . '/autoload.php';

$apiKey      = 'insertYourApiKeyHere';
$application = 'snider/php-notify-my-android';
$event       = 'Sample Event';
$description = 'This is a sample event notification.';

$nma = new Api(array('apikey' => $apiKey));
if ($nma->verify()) {
    if ($nma->notify($application, $event, $description)) {
        echo 'Notification sent';
    }
}

Use the included sample.php to try it for yourself., (*6)

License

See LICENSE.txt for full license details., (*7)

The Versions

17/10 2017

dev-master

9999999-dev

PHP library for NotifyMyAndroid.com which does not require cURL

  Sources   Download

GPL-3.0

by Paul Lashbrook

api android push notification

12/10 2016

v2.0.1

2.0.1.0

PHP library for NotifyMyAndroid.com which does not require cURL

  Sources   Download

GPL-3.0

by Paul Lashbrook

api android push notification

12/10 2016

2.0.0

2.0.0.0

PHP library for NotifyMyAndroid.com which does not require cURL

  Sources   Download

GPL-3.0

by Paul Lashbrook

api android push notification

08/08 2015

1.0.0

1.0.0.0

a PHP5 lib to use www.notifymyandroid.com

  Sources   Download

GPL-3.0

by Paul Lashbrook

api android push notification