1. Go to this page and download the library: Download vdbf/pushover-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vdbf / pushover-php example snippets
//setup pushover client
$pusher = new \Vdbf\Pushover\Client(array('token' => $argv[1]), new \GuzzleHttp\Client());
//compose a message
$message = new \Vdbf\Pushover\Message($argv[2], $argv[3]);
//push a message
$pusher->send($message);