2017 © Pedro Peláez
 

library pushover

A PHP library for easy PushOver service use: send real-time notifications to your Android and iOS devices.

image

sly/pushover

A PHP library for easy PushOver service use: send real-time notifications to your Android and iOS devices.

  • Monday, November 18, 2013
  • by Ph3nol
  • Repository
  • 6 Watchers
  • 33 Stars
  • 11,232 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 13 Forks
  • 4 Open issues
  • 6 Versions
  • 4 % Grown

The README.md

PushOver library

Continuous Integration status, (*1)

Requirements

Once you've been registered and after having installed the mobile application, click this link to create your own API application and get back your personal token/key., (*2)

Installation

Add to your project Composer packages

Just add sly/pushover package to the requirements of your Composer JSON configuration file, and run php composer.phar install to install it., (*3)

Install from GitHub

Clone this library from Git with git clone https://github.com/Ph3nol/PushOver.git., (*4)

Goto to the library directory, get Composer phar package and install vendors:, (*5)

curl -s https://getcomposer.org/installer | php
php composer.phar install

You're ready to go., (*6)

Example

``` php <?php, (*7)

require_once '/path/to/vendor/autoload.php'; // or your global project autoload, (*8)

use Sly\PushOver\Model\Push; use Sly\PushOver\PushManager;, (*9)

/** * First, create your own push, with its message. */ $myPush = new Push(); $myPush->setMessage('Pony is wonderful!'); $myPush->setTitle('Example'); // Optional, (*10)

/** * Create an instance for PushManager. * Give it your user key (first arguement) and token one (second argument). * You can give a device name on third argument (optional). */ $pushManager = new PushManager('myUs3rk3y', 'myAp1k3y');, (*11)

/** * Push it! :) */ if ($mySentPushInformations == $pushManager->push($myPush)) { /** * Your message has been sent. * $mySentPushInformations contents your sent push informations. */ } ```, (*12)

The Versions

18/11 2013

dev-master

9999999-dev https://github.com/Ph3nol/PushOver

A PHP library for easy PushOver service use: send real-time notifications to your Android and iOS devices.

  Sources   Download

MIT

The Requires

 

by Cédric Dugat

service notification push android iphone pushover

24/07 2013

1.0.4

1.0.4.0 https://github.com/Ph3nol/PushOver

A PHP library for easy PushOver service use: send real-time notifications to your Android and iOS devices.

  Sources   Download

MIT

The Requires

 

by Cédric Dugat

service notification push android iphone pushover

08/08 2012

1.0.3

1.0.3.0 https://github.com/Ph3nol/PushOver

A PHP library for easy PushOver service use: send real-time notifications to your Android and iOS devices.

  Sources   Download

MIT

The Requires

 

by Cédric Dugat

service notification push android iphone pushover

06/08 2012

1.0.2

1.0.2.0 https://github.com/Ph3nol/PushOver

A PHP library for easy PushOver service use: send real-time notifications to your Android and iOS devices.

  Sources   Download

MIT

The Requires

 

by Cédric Dugat

service notification push android iphone pushover

06/08 2012

1.0.1

1.0.1.0 https://github.com/Ph3nol/PushOver

A PHP library for easy PushOver service use: send real-time notifications to your Android and iOS devices.

  Sources   Download

MIT

The Requires

 

by Cédric Dugat

service notification push android iphone pushover

26/07 2012

1.0.0

1.0.0.0 https://github.com/Ph3nol/PushOver

A PHP library for easy PushOver service use: send real-time notifications to your Android and iOS devices.

  Sources   Download

MIT

The Requires

 

by Cédric Dugat

service notification push android iphone pushover