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

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

feugene/firebase-notifications-laravel
======================================

Firebase notifications for Laravel

v2.1.2(6y ago)01.1k[1 PRs](https://github.com/efureev/firebase-notifications-laravel/pulls)MITPHPPHP &gt;=7.2

Since Feb 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/efureev/firebase-notifications-laravel)[ Packagist](https://packagist.org/packages/feugene/firebase-notifications-laravel)[ RSS](/packages/feugene-firebase-notifications-laravel/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (11)Versions (16)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:

FirebaseNotificationsChannel for Laravel applications
=====================================================

[](#firebasenotificationschannel-for-laravel-applications)

[![Build Status](https://camo.githubusercontent.com/4bb0a9f21b84eac5ef1b81c65388b7ca545045630c522950312910c42a942067/68747470733a2f2f7472617669732d63692e6f72672f656675726565762f66697265626173652d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/efureev/firebase-notifications-laravel)[![codecov](https://camo.githubusercontent.com/cf4387fcaa690faa51941ed30bc17c10200e9b6211c20d5a2c2ddd35278c0f5a/68747470733a2f2f636f6465636f762e696f2f67682f656675726565762f66697265626173652d6e6f74696669636174696f6e732d6c61726176656c2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/efureev/firebase-notifications-laravel)[![Test Coverage](https://camo.githubusercontent.com/551b4de054bd9b46dc2c27b75a56fc8ca03af2ba676c856087a934b6f172539f/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f33623734666661343338326639366230616364352f746573745f636f766572616765)](https://codeclimate.com/github/efureev/firebase-notifications-laravel/test_coverage)[![Maintainability](https://camo.githubusercontent.com/034d5944c4e1b204044fed6d0f80351419962295c06cb74564c7554cf6765b24/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f33623734666661343338326639366230616364352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/efureev/firebase-notifications-laravel/maintainability)

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 feugene/firebase-notifications-laravel "^2.1"
```

> 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`:

```
