https://github.com/dealloc/fcm
A simple driver for connecting the laravel notification system to Firebase cloud messaging
https://github.com/dealloc/fcm
Last synced: 5 days ago
JSON representation
A simple driver for connecting the laravel notification system to Firebase cloud messaging
- Host: GitHub
- URL: https://github.com/dealloc/fcm
- Owner: dealloc
- License: mit
- Created: 2016-09-27T19:43:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T12:05:33.000Z (almost 10 years ago)
- Last Synced: 2025-10-14T22:37:59.645Z (9 months ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fcm - Firebase Cloud Messaging
> A simple driver for connecting the laravel notification system to Firebase cloud messaging
### What's this
fcm provides a very clean and fluent interface for connecting the Laravel 5.3 notification system to Firebase cloud messaging.
This allows you to easily send notifications to websites, Android apps and iOS apps without effort.
### How to install
- Use composer to install the package with `composer require dealloc/fcm`
- Register the service provider `\Dealloc\FCM\NotificationServiceProvider::class` in your service providers
- Create a notification using `php artisan make:notification`
- Implement the `\Dealloc\FCM\Contracts\FirebaseNotification` contract in your notification class
- In the `via` method of your notification return `['fcm']`
### Example
TODO - provide a simple notification class and code to dispatch it, referencing laravel documentation
### License
This project is licensed under the MIT license, see [LICENSE](LICENSE) for full license.