1. Go to this page and download the library: Download joetannenbaum/phpushbullet 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/ */
joetannenbaum / phpushbullet example snippets
$pushbullet = new PHPushbullet\PHPushbullet('YOUR_ACCESS_TOKEN_HERE');
$pushbullet->devices();
$pushbullet->device('Chrome')->note('Remember', 'Buy some eggs.');
$pushbullet->device('Chrome')->device('Galaxy S4')->note('Remember', 'Buy some eggs.');
// or
$pushbullet->device('Chrome', 'Galaxy S4')->note('Remember', 'Buy some eggs.');
// or
$pushbullet->device(['Chrome', 'Galaxy S4'])->note('Remember', 'Buy some eggs.');
$pushbullet->user('[email protected]')->note('Remember', 'Buy some eggs.');