764

Product support

Visit this product's website for support.

Categories

An October CMS plugin that offers Pushbullet integration and basic error reporting. This plugin uses the https://github.com/ivkos/Pushbullet-for-PHP library to connect to Pushbullet.

Installation

CLI:

php artisan plugin:install Klaasie.Pushbullet

October CMS:

Go to Settings > Updates & Plugins > Install plugins and search for 'Pushbullet'.

Configuration

Pushbullet setup

To be able to send push notifications through Pushbullet you first have to create an access token. Head on over to the Pushbullet website and visit the my account page. Click on Create access token button. Copy the code and paste it into the Pushbullet settings field in your webpage.

Select the device you'd like to receive the Pushbullet messages on.

Event listeners

In the notifications tab 2 settings are available to you.

Log notifications

The log notifications listener listens to any of the logs being written through the monolog\logger class. If this settings is enabled an additional field will come available where you can specify which type of logs you wish to be sent as push notification. The message will contain the log type as well as the message sent in the log.

Exception notification

This listener listens to the exception.beforeRender event. Which means that any uncaught exception will be sent to your default device. The message will contain the url on which the exception occurred as well as the exception message.

Pushbullet class

This plugin offers various methods to instantiate the Pushbullet class and sending out notifications.

For example through app binding:

$pushbullet = App::make('Pushbullet');
$pushbullet->allDevices()->pushNote('Note title', 'Note body');

Or through facade:

Pushbullet::allDevices()->pushNote('Note title', 'Note body');

Please refer to https://github.com/ivkos/Pushbullet-for-PHP for documentation about the methods available in the Pushbullet class.

1.0.3

Fix issue with L5.5 update

Aug 26, 2017

1.0.2

Fix menu highlighting

Aug 26, 2017

1.0.1

First version of Klaasie.Pushbullet

Jun 25, 2017