scottymeuk/pushover

Simple pushover.net library

Installs: 757

Dependents: 1

Stars: 6

Watchers: 2

Forks: 1

Language: PHP

v1.0.1 2013-08-15 11:54 UTC

README

Build Status Total Downloads Version

A simple PHP library for pushover.net. It essentially just wraps curl, and makes it a bit easier to send push notifications. The main reason for building this was to allow pushing to mulitple users easily.

Requirements

  • PHP >= 5.3.3
  • Curl PHP Driver

Example

<?php
include __DIR__ . '/vendor/autoload.php';

$pushover = new \Scottymeuk\Pushover\Client([
    'token' => '',
]);
$pushover->message = 'testing';

// Push Single
$push = $pushover->push($token);

// Push Multiple
$push = $pushover->pushMultiple([
    $token1,
    $token2
]);

Bitdeli Badge