PHPackages                             douglasresendemaciel/fcm-laravel-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. douglasresendemaciel/fcm-laravel-notification

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

douglasresendemaciel/fcm-laravel-notification
=============================================

Driver to connect laravel´s notification system to Google Firebase Cloud Messaging

118.9k6[1 issues](https://github.com/douglasresendemaciel/fcm-laravel-notification/issues)PHP

Since Nov 14Pushed 8y ago2 watchersCompare

[ Source](https://github.com/douglasresendemaciel/fcm-laravel-notification)[ Packagist](https://packagist.org/packages/douglasresendemaciel/fcm-laravel-notification)[ RSS](/packages/douglasresendemaciel-fcm-laravel-notification/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Firebase Cloud Messaging library for laravel´s notifications
============================================================

[](#firebase-cloud-messaging-library-for-laravels-notifications)

This library allow send push notifications to Firebase Cloud Messaging through laravel´s notifications.

It´s possible send notifications to websites, Android and IOS without any other integration.

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

[](#installation)

Run the following command from you terminal:

```
composer require "douglasresendemaciel/fcm-laravel-notification:@dev"
```

or add this to require section in your composer.json file:

```
"douglasresendemaciel/fcm-laravel-notification"

```

then run `composer update`

Once it is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key.

```
'providers' => [
...
DouglasResende\FCM\NotificationServiceProvider::class
...
```

Usage
-----

[](#usage)

First, create your notification class using artisan `php artisan make:notification MyNotification`

Implement your notification:

```
