PHPackages                             avto-dev/firebase-notifications-laravel - 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. avto-dev/firebase-notifications-laravel

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

avto-dev/firebase-notifications-laravel
=======================================

Notifications channel for Firebase service

v2.9.0(10mo ago)114.3k↓61.1%8MITPHPPHP ^8.2CI passing

Since Feb 5Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/avto-dev/firebase-notifications-laravel)[ Packagist](https://packagist.org/packages/avto-dev/firebase-notifications-laravel)[ RSS](/packages/avto-dev-firebase-notifications-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (15)Used By (0)

 [![Laravel](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

> Here's the latest documentation on Laravel Notifications System:

Firebase notifications channel for Laravel applications
=======================================================

[](#firebase-notifications-channel-for-laravel-applications)

[![Version](https://camo.githubusercontent.com/d49f1b59cdfc6dae6b158d6dcb298c65851d382dd2adc3048476756ef21846cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6176746f2d6465762f66697265626173652d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6d61784167653d313830)](https://packagist.org/packages/avto-dev/firebase-notifications-laravel)[![PHP Version](https://camo.githubusercontent.com/f5dadbbae3eb27673f9f5b3d1383225efd1e9d4144037664e7e599cbb1e3a21d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6176746f2d6465762f66697265626173652d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6c6f6e6743616368653d74727565)](https://packagist.org/packages/avto-dev/firebase-notifications-laravel)[![Build Status](https://camo.githubusercontent.com/7c57d841e712645263260edef64353ac5b42f4c8319fff14fa37c7fd22e222f1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6176746f2d6465762f66697265626173652d6e6f74696669636174696f6e732d6c61726176656c2f74657374732e796d6c)](https://github.com/avto-dev/firebase-notifications-laravel/actions)[![Coverage](https://camo.githubusercontent.com/ae73a7ebc9a8aeb415266f856c15f4d83c4dac33b071734b9e45bc6e287e2dd3/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6176746f2d6465762f66697265626173652d6e6f74696669636174696f6e732d6c61726176656c2f6d61737465722e7376673f6d61784167653d3630)](https://codecov.io/gh/avto-dev/firebase-notifications-laravel/)[![Downloads count](https://camo.githubusercontent.com/9e314a4ee69914a7b994bb45520a9628ecc67be69a2c59f2625976f94eb33b12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6176746f2d6465762f66697265626173652d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6d61784167653d313830)](https://packagist.org/packages/avto-dev/firebase-notifications-laravel)[![License](https://camo.githubusercontent.com/27d62599b435fb3a9caedda20d516b9173c319a77e66c3b62aba4fe6c5a15d6d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6176746f2d6465762f66697265626173652d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6c6f6e6743616368653d74727565)](https://github.com/avto-dev/firebase-notifications-laravel/blob/master/LICENSE)

This package makes it easy to send notifications using [Firebase](https://firebase.google.com/) with Laravel 5.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Firebase service](#setting-up-the-Firebase-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

```
$ composer require avto-dev/firebase-notifications-laravel "^2.0"
```

> Installed `composer` is required ([how to install composer](https://getcomposer.org/download/)).

> You need to fix the major version of package.

Laravel 5.5 and above uses Package Auto-Discovery, so doesn't require you to manually register the service-provider. Otherwise you must add the service provider to the `providers` array in `./config/app.php`:

```
