hrhabib / fcm-push-notification
A library for sending firebase push notification
Package info
github.com/iamhabib/fcmpushnotification-laravel-package
pkg:composer/hrhabib/fcm-push-notification
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-13 07:38:53 UTC
README
Utility class to send push notifications using firebase FCM.
Installation
Be careful! This library needs curl module for php to work.
composer require hrhabib/fcm-push-notification
php artisan vendor:publish --tag=fcm-push-notification-config
Update firebase push key in config/fcm_push_notification.php
Usage
Bind the PushNotification class in function
public function doSomething(PushNotification $pushNotification){ // call function to send push }
Available Function:
- sendToOne
- sendToTopic
- sendToAll
- sendMultiple
License
FCM Push Notifications is licensed under the MIT license. See License File for more information.