PHP code example of daltcore / pushover

1. Go to this page and download the library: Download daltcore/pushover 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/ */

    

daltcore / pushover example snippets


'Dyaa\Pushover\PushoverServiceProvider',

'Dyaa\Pushover\Facades\Pushover',

use Dyaa\Pushover\Facades\Pushover;

return [
    'token' => 'App Token',
    'user_key' => 'User Key',
];

Pushover::push($title, $message);

Pushover::url($url, $title);

Pushover::callback($callbackURL);

Pushover::sound($sound);

Pushover::device($device);

Pushover::html($html);

Pushover::timestamp($timestamp);

Pushover::priority($priority, $retry, $expire);

Pushover::debug(true);

Pushover::send();