PHPackages                             belbase/push-notification - 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. belbase/push-notification

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

belbase/push-notification
=========================

This is the The Library of Push Notification for Firebase.

1.0.x-dev(7y ago)010MITPHPPHP &gt;=5.4.0

Since Aug 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/belbase/push-notification)[ Packagist](https://packagist.org/packages/belbase/push-notification)[ RSS](/packages/belbase-push-notification/feed)WikiDiscussions 1.0 Synced 3d ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

PushNotification
================

[](#pushnotification)

[![Build Status](https://camo.githubusercontent.com/be1d7d7675cc2343b32f09daa122d06ef3335079a6924fd31908be68d03e1def/68747470733a2f2f7472617669732d63692e6f72672f62656c626173652f707573682d6e6f74696669636174696f6e2e7376673f6272616e63683d312e30)](https://travis-ci.org/belbase/push-notification)
The Laravel 5 Package for Push Notification. Currently supported Services: [Firebase Cloud Messaging](https://firebase.google.com/)

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

[](#installation)

**Step 1:** Install package using composer

```
    composer require belbase/push-notification

```

**Step 2:** Add the service provider to the config/app.php file in Laravel (Optional for Laravel 5.5)

```
    Belbase\PushNotification\Providers\PushNotificationServiceProvider::class,
```

**Step 3:** Add an alias for the Facade to the config/app.php file in Laravel (Optional for Laravel 5.5)

```
    'PushNotification' => Belbase\PushNotification\Facades\PushNotification::class,
```

**Step 4:** Publish the config by running in your terminal

```
    php artisan vendor:publish

```

Usage
-----

[](#usage)

Edit the config/pushnotification.php. Set the appropriate Service and its parameters. Then in your code...
`use PushNotification; `

Initiate Request and Redirect using the default service:-

```
      /* All Required Parameters by your Service */
      $deviceAccessToken = 'DEVICE-ACCESS-TOKEN-HERE';
      $metaData=[
        // enter data to send along with notification
      ];
      return PushNotification::to($deviceAccessToken)->setMessage('title','body',$metaData)->sendMessage();
```

Contributors
------------

[](#contributors)

1. [Deepak Belbase](https://github.com/belbase)
2. [Deepak Gupta](https://github.com/deepakgupta1234)

License
-------

[](#license)

The PushNotification is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Every ~12 days

Total

2

Last Release

2821d ago

Major Versions

0.1.x-dev → 1.0.x-dev2018-08-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5323da9419b6adef17647aa1c985962230f2347088bcecd9e815a534fe7ee8d?d=identicon)[belbase](/maintainers/belbase)

---

Top Contributors

[![godofcoders](https://avatars.githubusercontent.com/u/24934053?v=4)](https://github.com/godofcoders "godofcoders (1 commits)")

---

Tags

firebase

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/belbase-push-notification/health.svg)

```
[![Health](https://phpackages.com/badges/belbase-push-notification/health.svg)](https://phpackages.com/packages/belbase-push-notification)
```

###  Alternatives

[benwilkins/laravel-fcm-notification

Laravel FCM (Firebase Cloud Messaging) Notification Channel

210964.1k1](/packages/benwilkins-laravel-fcm-notification)[liliom/laravel-firebase

Laravel FCM (Firebase Cloud Messaging) Notification Channel

2426.1k](/packages/liliom-laravel-firebase)

PHPackages © 2026

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