2017 © Pedro Peláez
 

library pushover

Library for communicating with Pushover API fluently

image

ampersa/pushover

Library for communicating with Pushover API fluently

  • Tuesday, February 7, 2017
  • by ampersa
  • Repository
  • 0 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Pushover API Client

Version 0.2, (*1)

Example:, (*2)

$client = new Pushover;
$response = $client->title('Testing')
                    ->message('Just a quick test of <b>Ampersa\Pushover</b>')
                    ->sound('cashregister')
                    ->priority(Pushover::PRIORITY_EMERGENCY)
                    ->retry(30)
                    ->expires(600)
                    ->html(true)
                    ->url('https://www.google.com', 'Google')
                    ->user('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
                    ->send();

var_export($response);

will result in a truth-y response:, (*3)

stdClass::__set_state(array(
   'receipt' => '000000000000000000000000000000',
   'status' => 1,
   'request' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
))

The Versions

07/02 2017

dev-master

9999999-dev

Library for communicating with Pushover API fluently

  Sources   Download

MIT

The Requires

 

by Adam Prickett (Ampersa)

07/02 2017

0.2

0.2.0.0

Library for communicating with Pushover API fluently

  Sources   Download

MIT

The Requires

 

by Adam Prickett (Ampersa)

07/02 2017

0.1

0.1.0.0

Library for communicating with Pushover API fluently

  Sources   Download

The Requires

 

by Adam Prickett (Ampersa)