PHPackages                             joetannenbaum/phpushbullet - 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. joetannenbaum/phpushbullet

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

joetannenbaum/phpushbullet
==========================

PHP API wrapper for Pushbullet.

1.2.2(9y ago)3146.4k154MITPHPPHP &gt;=5.4.0

Since Aug 27Pushed 9y ago7 watchersCompare

[ Source](https://github.com/joetannenbaum/phpushbullet)[ Packagist](https://packagist.org/packages/joetannenbaum/phpushbullet)[ RSS](/packages/joetannenbaum-phpushbullet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (9)Used By (4)

PHPushbullet
============

[](#phpushbullet)

[![Latest Version](https://camo.githubusercontent.com/bf6babf81082676e2a60dd3c758ac9f96d664983a60bf9e41fe804cf0e995794/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a6f6574616e6e656e6261756d2f70687075736862756c6c65742e7376673f7374796c653d666c6174)](https://github.com/joetannenbaum/phpushbullet/releases)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/2d596c00f9f49b242bf7e08b1a1ea3b063d4957aac12914b3f4f253b69493a35/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6f6574616e6e656e6261756d2f70687075736862756c6c65742f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/joetannenbaum/phpushbullet)[![Coverage Status](https://camo.githubusercontent.com/ed89e75de8de1d8f387e607fb5f8849ee715c126fd8d3b12fb5e9fa1e37690af/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6a6f6574616e6e656e6261756d2f70687075736862756c6c65742e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/joetannenbaum/phpushbullet/code-structure)[![Quality Score](https://camo.githubusercontent.com/2e47765dd331fc655f09e570873af9eda8ebd9f06b3af18569eb43297d492dbf/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6a6f6574616e6e656e6261756d2f70687075736862756c6c65742e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/joetannenbaum/phpushbullet)[![Total Downloads](https://camo.githubusercontent.com/da7f524d79435646eaeb8812a1af25b6d24c69a4283a48dd542d88bf63ba22ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f6574616e6e656e6261756d2f70687075736862756c6c65742e7376673f7374796c653d666c6174)](https://packagist.org/packages/joetannenbaum/phpushbullet)

A PHP library for the [Pushbullet](https://www.pushbullet.com/) API.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Listing Devices](#listing-devices)
- [Pushing](#pushing)
    - [To Devices](#to-devices)
    - [To Users](#to-users)
- [Types](#types)
    - [Notes](#notes)
    - [Links](#links)
    - [Addresses](#addresses)
    - [Lists](#lists)
    - [Files](#files)

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

[](#installation)

Using [composer](https://packagist.org/packages/joetannenbaum/phpushbullet):

```
{
    "require": {
        "joetannenbaum/phpushbullet": "~1.0"
    }
}

```

PHPushbullet takes one optional parameter, your [Pushbullet access token](https://www.pushbullet.com/account):

```
require_once('vendor/autoload.php');

$pushbullet = new PHPushbullet\PHPushbullet('YOUR_ACCESS_TOKEN_HERE');
```

If you do not wish to put your access token in your code (understandable), simply set it to the environment variable `pushbullet.access_token` and PHPushbullet will automatically pick it up.

Listing Devices
---------------

[](#listing-devices)

To list the available devices on your account:

```
$pushbullet->devices();
```

This will return an array of objects with all of the device information.

Pushing
-------

[](#pushing)

### To Devices

[](#to-devices)

When pushing a to a device, simply use the device's `nickname` or their `iden` from the list above.

To push to a single device:

```
$pushbullet->device('Chrome')->note('Remember', 'Buy some eggs.');
```

To push to multiple devices:

```
$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.');
```

### To Users

[](#to-users)

When pushing a to a user, simply use the user's email address:

To push to a single user:

```
$pushbullet->user('joe@example.com')->note('Remember', 'Buy some eggs.');
```

To push to multiple users:

```
$pushbullet->user('joe@example.com')->user('anne@example.com')->note('Remember', 'Buy some eggs.');
// or
$pushbullet->user('joe@example.com', 'anne@example.com')->note('Remember', 'Buy some eggs.');
// or
$pushbullet->user(['joe@example.com', 'anne@example.com'])->note('Remember', 'Buy some eggs.');
```

Types
-----

[](#types)

### Notes

[](#notes)

Arguments:

- Title
- Body

```
$pushbullet->device('Chrome')->note('Musings', 'Why are fudgy brownies better than cakey brownies?');
```

### Links

[](#links)

Arguments:

- Title
- URL
- Body (optional)

```
$pushbullet->device('Chrome')->link('Look It Up', 'http://google.com', 'I hear this is a good site for finding things.');
```

### Addresses

[](#addresses)

Arguments:

- Name
- Address

```
$pushbullet->device('Chrome')->address('The Hollywood Sign', '4059 Mt Lee Drive Hollywood, CA 90068');
```

Alternatively, you can pass in an associative array:

```
$address = [
  'address' => '4059 Mt Lee Drive',
  'city'    => 'Hollywood',
  'state'   => 'CA',
  'zip'     => '90068',
];

$pushbullet->device('Chrome')->address('The Hollywood Sign', $address);
```

### Lists

[](#lists)

Arguments:

- Title
- Items (array)

```
$items = [
  'Socks',
  'Pants',
  'Keys',
  'Wallet',
];

$pushbullet->device('Chrome')->list('Do Not Forget', $items);
```

### Files

[](#files)

Arguments:

- File Name
- File URL (must be publicly available)
- Body (optional)

```
$pushbullet->device('Chrome')->file('The Big Presentation', 'http://example.com/do-not-lose-this.pptx', 'Final version of slides.');
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 93.2% 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 ~93 days

Recently: every ~161 days

Total

8

Last Release

3624d ago

Major Versions

0.1.0 → 1.0.02014-09-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cc9e697c220afa4ac18184d1aaab004e2da9448ac251a74e6031eec48b21601?d=identicon)[joetannenbaum](/maintainers/joetannenbaum)

---

Top Contributors

[![joetannenbaum](https://avatars.githubusercontent.com/u/2702148?v=4)](https://github.com/joetannenbaum "joetannenbaum (41 commits)")[![Max13](https://avatars.githubusercontent.com/u/531249?v=4)](https://github.com/Max13 "Max13 (2 commits)")[![faytzel](https://avatars.githubusercontent.com/u/1248446?v=4)](https://github.com/faytzel "faytzel (1 commits)")

---

Tags

phpapipushnotificationbulletpushbullet

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/joetannenbaum-phpushbullet/health.svg)

```
[![Health](https://phpackages.com/badges/joetannenbaum-phpushbullet/health.svg)](https://phpackages.com/packages/joetannenbaum-phpushbullet)
```

###  Alternatives

[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[ladumor/one-signal

Laravel Wrapper for OneSignal.

125331.3k](/packages/ladumor-one-signal)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

71274.3k](/packages/bentools-webpush-bundle)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)[leonardoteixeira/pushover

A simple PHP library for the Pushover service

1827.7k3](/packages/leonardoteixeira-pushover)[dropfan/onesignal-server-api

OneSignal server API for PHP, you can push notifications to any platform. (iOS/APNS, Android/GCM/FCM, WP, Web/Chrome/Safari...etc.) No third-party dependency that you can use this library in any project or framework.

169.2k](/packages/dropfan-onesignal-server-api)

PHPackages © 2026

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