PHPackages                             zortje/boxcar-notifications-php - 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. zortje/boxcar-notifications-php

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

zortje/boxcar-notifications-php
===============================

A Boxcar api wrapper for sending notifications to a Boxcar account

1.0.0(10y ago)22171MITPHPPHP &gt;=5.5

Since Oct 3Pushed 9y ago2 watchersCompare

[ Source](https://github.com/zortje/boxcar-notifications-php)[ Packagist](https://packagist.org/packages/zortje/boxcar-notifications-php)[ RSS](/packages/zortje-boxcar-notifications-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

Boxcar Notifications API PHP wrapper
====================================

[](#boxcar-notifications-api-php-wrapper)

A Boxcar API wrapper for sending notifications to a Boxcar account without any dependencies except the cURL library.

[![Packagist](https://camo.githubusercontent.com/62ada1b6054f784d35c645892d0cb2925d3fee9a1c5c4cf1ca2cbfaaca8c6686/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6f72746a652f626f786361722d6e6f74696669636174696f6e732d7068702e7376673f7374796c653d666c6174)](https://packagist.org/packages/zortje/boxcar-notifications-php)[![Travis](https://camo.githubusercontent.com/a27f1e3446642254d87953ff57dca18bfc95b40d0b82aeb4b1ee4b11071a47a9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7a6f72746a652f626f786361722d6e6f74696669636174696f6e732d7068702e7376673f7374796c653d666c6174)](https://travis-ci.org/zortje/boxcar-notifications-php)[![Code Coverage](https://camo.githubusercontent.com/5ee13fa182be6a62329330d1e26076d496a0362edae3943c4ef021298e3a3382/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7a6f72746a652f626f786361722d6e6f74696669636174696f6e732d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/zortje/boxcar-notifications-php/?branch=master)[![Scrutinizer](https://camo.githubusercontent.com/20dfbdc23f24a19b99fc7ca42df24572ddc4db9dddf72576dba9be7657003d32/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7a6f72746a652f626f786361722d6e6f74696669636174696f6e732d7068702e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/zortje/boxcar-notifications-php/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/0c8cf48c3d5f648188db356e0ce146d8209581c2729f09421e3aacf5c9a4a126/68747470733a2f2f646570656e64656e637963692e636f6d2f6769746875622f7a6f72746a652f626f786361722d6e6f74696669636174696f6e732d7068702f6261646765)](https://dependencyci.com/github/zortje/boxcar-notifications-php)[![Packagist](https://camo.githubusercontent.com/e52994c6f85cb2ccb3e6cf18b50aac37271b486434309522292e55c4692eaf44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6f72746a652f626f786361722d6e6f74696669636174696f6e732d7068702e7376673f7374796c653d666c6174)](https://packagist.org/packages/zortje/boxcar-notifications-php)

[![SensioLabsInsight](https://camo.githubusercontent.com/26e5a579af6252aa3ae5573870cf2d682e994cfb007be6f8f11b857238dcee3e/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35363234383231612d323963392d343764332d383834642d3735303438326562643936352f6269672e706e67)](https://insight.sensiolabs.com/projects/5624821a-29c9-47d3-884d-750482ebd965)

Installing
----------

[](#installing)

The recommended way to install is though [Composer](https://getcomposer.org/).

```
{
    "require": {
        "zortje/boxcar-notifications-php": "~1.0"
    }
}
```

Usage
-----

[](#usage)

```
$boxcar = new \Zortje\BoxcarNotifications\Boxcar('secret_access_token');

$boxcar->setSourceName('ACME');
$boxcar->setSound('notifier-1');
$boxcar->setIconUrl('http://new.boxcar.io/images/rss_icons/boxcar-64.png');
$boxcar->setOpenUrl('http://maps.google.com/maps?q=cupertino');

$notification = new \Zortje\BoxcarNotifications\Notification('Message title', 'Bold content text.');

$boxcar->push($notification);
```

**Access token**

`'secret_access_token'` in the above example. Your access token can be found in Boxcar global setting pane (Not the registered Boxcar email address).

**Title**

`'Message title'` in the above example. Title for the notification. Max size is 255 chars.

**Content**

`'Bold content text.'` in the above example. Content of the notification. Can be text or HTML. Max size is 4 Kb.

**Source name**

`'ACME'` in the above example. This is a short source name to show in inbox. Defaults to "Custom notification" if omitted.

**Sound**

`'notifier-1'` in the above example. General sound is used if omitted. Please find list of supported sounds below.

**Icon URL**

`'http://new.boxcar.io/images/rss_icons/boxcar-64.png'` in the above example. Icon to be displayed in the Boxcar inbox.

**open URL**

`'http://maps.google.com/maps?q=cupertino'` in the above example. If defined, Boxcar will redirect the receiver to this url when he/she opens the notification from the Notification Center.

#### Supported sounds

[](#supported-sounds)

The following sounds can be used.

- beep-crisp
- beep-soft
- bell-modern
- bell-one-tone
- bell-simple
- bell-triple
- bird-1
- bird-2
- boing
- cash
- clanging
- detonator-charge
- digital-alarm
- done
- echo
- flourish
- harp
- light
- magic-chime
- magic-coin
- notifier-1
- notifier-2
- notifier-3
- orchestral-long
- orchestral-short
- score
- success
- up

Acknowledgement
---------------

[](#acknowledgement)

Built by following the API specs provided in this Boxcar help [article](http://help.boxcar.io/support/solutions/articles/6000004813-how-to-send-a-notification-to-boxcar-for-ios-users).

Disclaimer
----------

[](#disclaimer)

I am not affiliated with Boxcar in any way.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3926d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/515c147cfd9178357f516903b92c2ecce6970a16418e40bf26d184eca03dc68e?d=identicon)[Zortje](/maintainers/Zortje)

---

Top Contributors

[![zortje](https://avatars.githubusercontent.com/u/3150158?v=4)](https://github.com/zortje "zortje (20 commits)")

---

Tags

notificationsboxcar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zortje-boxcar-notifications-php/health.svg)

```
[![Health](https://phpackages.com/badges/zortje-boxcar-notifications-php/health.svg)](https://phpackages.com/packages/zortje-boxcar-notifications-php)
```

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k14.3M77](/packages/minishlink-web-push)[edamov/pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key) or certificate-based authentication

4103.6M19](/packages/edamov-pushok)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[thomasjohnkane/snooze

Schedule future notifications and reminders in Laravel

9351.7M2](/packages/thomasjohnkane-snooze)[mouse0270/bootstrap-growl

This is a simple pluging that turns standard Bootstrap alerts into "Growl-like" notifications.

2.2k131.0k](/packages/mouse0270-bootstrap-growl)[laravel-notification-channels/pusher-push-notifications

Pusher native Push Notifications driver.

281788.6k1](/packages/laravel-notification-channels-pusher-push-notifications)

PHPackages © 2026

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