PHPackages                             laravel-notification-channels/pushbullet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. laravel-notification-channels/pushbullet

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

laravel-notification-channels/pushbullet
========================================

Laravel 5.3+ Notifications Pushbullet Driver

1.5.0(3y ago)1410.1k—0%8[4 PRs](https://github.com/laravel-notification-channels/pushbullet/pulls)MITPHPPHP ^7.3 || ~8.0.0 || ~8.1.0 || ~8.2.0

Since Aug 13Pushed 1y ago4 watchersCompare

[ Source](https://github.com/laravel-notification-channels/pushbullet)[ Packagist](https://packagist.org/packages/laravel-notification-channels/pushbullet)[ Docs](https://github.com/laravel-notification-channels/pushbullet)[ RSS](/packages/laravel-notification-channels-pushbullet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (24)Used By (0)

[![](https://camo.githubusercontent.com/d55bc70f01ea5b28e53578505299c2581b984cc3785421aee23104695a4b7411/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c2532305075736862756c6c65742532304e6f74696669636174696f6e732e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732532467075736862756c6c6574267061747465726e3d706c7573267374796c653d7374796c655f32266465736372697074696f6e3d5075736862756c6c65742b6e6f74696669636174696f6e732b6368616e6e656c2b666f722b4c61726176656c266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d75706c6f6164)](https://camo.githubusercontent.com/d55bc70f01ea5b28e53578505299c2581b984cc3785421aee23104695a4b7411/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c2532305075736862756c6c65742532304e6f74696669636174696f6e732e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732532467075736862756c6c6574267061747465726e3d706c7573267374796c653d7374796c655f32266465736372697074696f6e3d5075736862756c6c65742b6e6f74696669636174696f6e732b6368616e6e656c2b666f722b4c61726176656c266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d75706c6f6164)

Pushbullet notification channel for Laravel
===========================================

[](#pushbullet-notification-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/95279e2b36204081f403c74f1052ba4a8106d2dadc4f22303369059f57d7f459/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7075736862756c6c65742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/pushbullet)[![Build Status](https://camo.githubusercontent.com/a75bb5c6436f44364415f4979c625d686da5511e09afa5432b7c32bf95e73890/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7075736862756c6c65742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-notification-channels/pushbullet)[![StyleCI](https://camo.githubusercontent.com/fd02fd2c88ad7c34c465c78d91d321bea44f18135f82a24b405fda34e7dbbc09/68747470733a2f2f7374796c6563692e696f2f7265706f732f36353535383330302f736869656c64)](https://styleci.io/repos/65558300)[![SensioLabsInsight](https://camo.githubusercontent.com/ac5a539ad653fe3900dc5afbb89cb049707ce5a29816e5b7458c0d787d4886ff/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f32323833383035612d653763632d346538332d386364612d6239316238333336636235372e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/2283805a-e7cc-4e83-8cda-b91b8336cb57)[![Quality Score](https://camo.githubusercontent.com/35b457089bad20c139cd6f0a0c49c992231a501a39dc217c0e054ee41a58dcb3/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7075736862756c6c65742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/pushbullet)[![Code Coverage](https://camo.githubusercontent.com/055fa34b4c44ddd750db18e9f258d55b513b4463280a4e41c8b355082ab43d01/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7075736862756c6c65742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/pushbullet/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/952476fe47eb3b7b40f5c7e068f75acda83c6fc5479238346e3b14362a120bc4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7075736862756c6c65742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/pushbullet)

This package makes it easy to send notifications using [Pushbullet](http://pushbullet.com) with Laravel 5.5+, 6.x, 7.x and 8.x.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Pushbullet service](#setting-up-the-pushbullet-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

Installation
------------

[](#installation)

To get the latest version of Pushbullet Notification channel for Laravel 5.3, simply require the project using [Composer](https://getcomposer.org):

```
$ composer require laravel-notification-channels/pushbullet
```

Or you can manually update your require block and run `composer update` if you choose so:

```
{
    "require": {
        "laravel-notification-channels/pushbullet": "^1.0"
    }
}
```

### Setting up the Pushbullet service

[](#setting-up-the-pushbullet-service)

In your pushbullet account go to [Account settings](https://www.pushbullet.com/#settings/account) page. Click `Create Access Token` button and you will get access\_token.

You need to put it to `config/services.php` configuration file. You may copy the example configuration below to get started:

```
'pushbullet' => [
    'access_token' => env('PUSHBULLET_ACCESS_TOKEN')
]
```

Usage
-----

[](#usage)

### Routing Pushbullet notifications

[](#routing-pushbullet-notifications)

In order to send notifications to Pushbullet you need to specify recipient for each notifiable entity. There are currently 2 options: pushbullet email or device id of recipient. To provide library with correct notification recipient you need to define `routeNotificationForPushbullet` method on notifiable entity.

#### Sending notification to email:

[](#sending-notification-to-email)

```
public function routeNotificationForPushbullet()
{
    return new \NotificationChannels\Pushbullet\Targets\Email($this->email);
}
```

#### Sending notification to device id:

[](#sending-notification-to-device-id)

```
public function routeNotificationForPushbullet()
{
    return new \NotificationChannels\Pushbullet\Targets\Device($this->pushbullet_device_id);
}
```

#### Sending notification to all subscribers of channel that has tag:

[](#sending-notification-to-all-subscribers-of-channel-that-has-tag)

```
public function routeNotificationForPushbullet()
{
    return new \NotificationChannels\Pushbullet\Targets\Channel($this->channel_tag);
}
```

#### Sending notification to all of the user's devices

[](#sending-notification-to-all-of-the-users-devices)

```
public function routeNotificationForPushbullet()
{
    return new \NotificationChannels\Pushbullet\Targets\UserDevices();
}
```

### `via` Method

[](#via-method)

On notification entity just add `\NotificationChannels\Pushbullet\PushbulletChannel::class` item to array that is returned from `via` method.

### `toPushbullet` Method

[](#topushbullet-method)

In your notification class you also should define `toPushbullet` method which will return instance of `\NotificationChannels\Pushbullet\PushbulletMessage`.

```
/**
 * Get the pushbullet representation of the notification.
 *
 * @param  mixed  $notifiable
 * @return \NotificationChannels\Pushbullet\PushbulletMessage
 */
public function toPushbullet($notifiable)
{
    $url = url('/invoice/' . $this->invoice->id);

    return PushbulletMessage::create('Thank you for using our application!')
        ->link()
        ->title('One of your invoices has been paid!')
        ->url($url);
}
```

#### Available Message methods

[](#available-message-methods)

- `note()`: set notification type to note (title and message for notification are available)
- `link()`: set notification type to link (title, message and url are available)
- `title($title)`: (string) set notification title
- `message($message)`: (string) set notification message
- `url($url)`: (string) set notification url (will be in notification if type is `link`)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Alex Plekhanov](https://github.com/alexsoft)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~143 days

Recently: every ~157 days

Total

18

Last Release

1127d ago

Major Versions

v0.3.0 → v1.0.02018-02-07

PHP version history (5 changes)0.0.1PHP &gt;=5.6.4

v1.1.0PHP &gt;=7.2

1.3.0PHP &gt;=7.3

1.3.1PHP ^7.3 || ~8.0.0 || ~8.1.0

1.5.0PHP ^7.3 || ~8.0.0 || ~8.1.0 || ~8.2.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20937037?v=4)[Laravel Notification Channels](/maintainers/laravel-notification-channels)[@laravel-notification-channels](https://github.com/laravel-notification-channels)

---

Top Contributors

[![alexsoft](https://avatars.githubusercontent.com/u/1451894?v=4)](https://github.com/alexsoft "alexsoft (90 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (7 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (3 commits)")[![chris-ware](https://avatars.githubusercontent.com/u/19684457?v=4)](https://github.com/chris-ware "chris-ware (2 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (1 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (1 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (1 commits)")

---

Tags

hacktoberfestlaravellaravel-notificationslaravel-packagenotificationspushbulletpushbullet-notifications

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-notification-channels-pushbullet/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-notification-channels-pushbullet/health.svg)](https://phpackages.com/packages/laravel-notification-channels-pushbullet)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/aws-sns

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel.

541.1M2](/packages/laravel-notification-channels-aws-sns)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
