PHPackages                             byrontudhope/pushnotificationlaravel - 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. byrontudhope/pushnotificationlaravel

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

byrontudhope/pushnotificationlaravel
====================================

Laravel 5 Package for sending push notifications to Android and iOS devices

v1.1.3(9y ago)11.1k1MITPHPPHP &gt;=5.4.0

Since Nov 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ByronTudhope/pushnotificationlaravel)[ Packagist](https://packagist.org/packages/byrontudhope/pushnotificationlaravel)[ RSS](/packages/byrontudhope-pushnotificationlaravel/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

laravel-push-notification
=========================

[](#laravel-push-notification)

Based off of  with support for Laravel 5 and 5.1.

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

[](#installation)

Update your `composer.json` file to include this package as a dependency

```
"byrontudhope/pushnotificationlaravel": "dev-master"
```

Register the PushNotification service provider by adding it to the providers array in the `config/app.php` file.

```
'providers' => array(
    'ByronTudhope\LaravelPushNotification\PushNotificationServiceProvider'
)
```

Alias the PushNotification facade by adding it to the aliases array in the `config/app.php` file.

```
'aliases' => array(
	'PushNotification'      => 'ByronTudhope\LaravelPushNotification\PushNotification',
)
```

Configuration
=============

[](#configuration)

Copy the config file into your project by running

```
php artisan vendor:publish

```

This will generate a config file like this

```
array(
    'iOS'     => [
        'environment' => env('IOS_PUSH_ENV', 'development'),
        'certificate' => env('IOS_PUSH_CERT', __DIR__ . '/ios-push-notification-certificates/development/'),
        'passPhrase'  => env('IOS_PUSH_PASSWORD', '291923Job'),
        'service'     => 'apns'
    ],

    'android' => [
        'environment' => env('ANDROID_PUSH_ENV', 'development'),
        'apiKey'      => env('ANDROID_PUSH_API_KEY', 'yourAPIKey'),
        'service'     => 'gcm'
    ]
);
```

Where all first level keys corresponds to an service configuration, each service has its own properties, android for instance have `apiKey` and IOS uses `certificate` and `passPhrase`. You can set as many services configurations as you want, one for each app. A directory with the name 'ios-push-notification-certificates' will be added to the config folder for you to store both development and production certificates.

##### Dont forget to set `service` key to identify iOS `'service'=>'apns'` and Android `'service'=>'gcm'`

[](#dont-forget-to-set-service-key-to-identify-ios-serviceapns-and-android-servicegcm)

Usage
=====

[](#usage)

```
PushNotification::app('iOS')
                ->to($deviceToken)
                ->send('Hello World, i`m a push message');
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 88.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 ~115 days

Total

5

Last Release

3424d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2812262?v=4)[Byron Tudhope](/maintainers/byrontudhope)[@ByronTudhope](https://github.com/ByronTudhope)

---

Top Contributors

[![larkinwhitaker](https://avatars.githubusercontent.com/u/9460109?v=4)](https://github.com/larkinwhitaker "larkinwhitaker (15 commits)")[![ByronTudhope](https://avatars.githubusercontent.com/u/2812262?v=4)](https://github.com/ByronTudhope "ByronTudhope (2 commits)")

---

Tags

laravelpushnotificationgcmlaravel 5apns

### Embed Badge

![Health badge](/badges/byrontudhope-pushnotificationlaravel/health.svg)

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

###  Alternatives

[edujugon/push-notification

Laravel Package to send push notifications to Android and IOS devices. (GCM,FCM,APN)

4861.4M1](/packages/edujugon-push-notification)[witty/laravel-push-notification

Laravel 5 Package for sending push notifications to Android and iOS devices

245.0k](/packages/witty-laravel-push-notification)[turbo124/laravel-push-notification

Laravel package to send push notifications to mobile devices (apns, gcm)

1158.0k](/packages/turbo124-laravel-push-notification)

PHPackages © 2026

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