scottymeuk / pushover
Simple pushover.net library
Installs: 1 178
Dependents: 1
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: >=5.3.3
- ext-curl: *
This package is not auto-updated.
Last update: 2024-11-04 14:49:21 UTC
README
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 ]);