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

ActiveLibrary

mtgofa/fcm-laravel-notification
===============================

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

1.1(5y ago)0247MITPHP

Since Nov 17Pushed 5y agoCompare

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

READMEChangelogDependencies (1)Versions (3)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 mtgofa/fcm-laravel-notification
```

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

```
"mtgofa/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' => [
...
MTGofa\FCM\NotificationServiceProvider::class
...
```

Usage
-----

[](#usage)

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

Implement your notification:

```
