scottymeuk/pushover

Simple pushover.net library

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

This package is not auto-updated.

Last update: 2024-11-04 14:49:21 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