PHPackages                             oukhay/fibnotifications - 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. oukhay/fibnotifications

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

oukhay/fibnotifications
=======================

This package provide an easy way to send notifications to firebase from Laravel applications

07PHP

Since Feb 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Oukhay/FiBNotifications)[ Packagist](https://packagist.org/packages/oukhay/fibnotifications)[ RSS](/packages/oukhay-fibnotifications/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

FiBNotifications
================

[](#fibnotifications)

[![License](https://camo.githubusercontent.com/b60009c61d12b84b2536d6424619974997684fcc36e8a9a41d1ca40694aea2d9/68747470733a2f2f706f7365722e707567782e6f72672f62726f7a6f742f6c61726176656c2d66636d2f6c6963656e7365)](https://packagist.org/packages/brozot/laravel-fcm)

Introduction
------------

[](#introduction)

FiBNotifications is an easy to use Laravel package to sending push notification with [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/) (FCM).

It provides an API to :

- Register new device
- Send notification to single device

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

[](#installation)

To get the latest version of FiBNotifications on your project, require it from "composer":

```
$ composer require oukhay/fibnotifications

```

Or you can add it directly in your composer.json file:

```
{
	"require": {
    	     "oukhay/fibnotifications": "dev-master"
	}
}

```

### Laravel

[](#laravel)

Register the provider directly in your app configuration file config/app.php `config/app.php`:

```
'providers' => [
	// ...

	   Oukhay\FiBNotifications\FiBNotificationsServiceProvider::class,
]
```

Add the facade aliases in the same file:

```
'aliases' => [
	...
	'FiBNotifications' => Oukhay\FiBNotifications\Facade\FiBNotification::class
]
```

> Note: The `FiBNotifications` facade is needed only if you want to send notification from your controller in your application.

Publish the package config file using the following command:

```
$ php artisan vendor:publish

```

This command will generate a config file **main.php** under **/config/fib-notifications** and a migration file **0000\_00\_00\_000000\_create\_fibnotifications\_fibn\_devices\_table**.

To create the necessary table **fib\_devices** run the following command :

```
$ php artisan migrate

```

Basic Usage
-----------

[](#basic-usage)

...

API Documentation
-----------------

[](#api-documentation)

You can find more documentation about the API ...

Licence
-------

[](#licence)

This library is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

Some of this documentation is coming from the official documentation. You can find it completely on the [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/) Website.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d9cfdbf0dc839a1842bac8a4f98069babf2d828fd9f063b2b9425e7ca0ded38?d=identicon)[Oukhay](/maintainers/Oukhay)

---

Top Contributors

[![360Medlink](https://avatars.githubusercontent.com/u/57455463?v=4)](https://github.com/360Medlink "360Medlink (12 commits)")[![hamedoukhay](https://avatars.githubusercontent.com/u/3099726?v=4)](https://github.com/hamedoukhay "hamedoukhay (1 commits)")

### Embed Badge

![Health badge](/badges/oukhay-fibnotifications/health.svg)

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

PHPackages © 2026

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