Download the PHP package digimantra/digi-notification without Composer
On this page you can find all versions of the php package digimantra/digi-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download digimantra/digi-notification
More information about digimantra/digi-notification
Files in digimantra/digi-notification
Download digimantra/digi-notification
More information about digimantra/digi-notification
Files in digimantra/digi-notification
Vendor digimantra
Package digi-notification
Short Description A Laravel package to send FCM push notification.
License MIT
Package digi-notification
Short Description A Laravel package to send FCM push notification.
License MIT
Please rate this library. Is it a good library?
Informations about the package digi-notification
Laravel FCM Notifications Package
This package provides an easy way to send Firebase Cloud Messaging (FCM) push notifications in Laravel applications using Google's Firebase API.
Table of Contents
- Requirements
- Installation
- Usage
- Configuration
- Logging
- Known Issues
- License
- Support
Requirements
- Laravel 8, 9, or 10
- PHP 8.0 or higher
- Google API Client (installed automatically via composer)
- Firebase account with Cloud Messaging API enabled
Installation
-
Install via Composer
-
Publish Configuration
-
Set Up Environment Variables
Add the following to your
.envfile:You can generate the credentials file from the Firebase Console.
Usage
Sending FCM Notifications:
Configuration
Queue Configuration
Ensure your queue system is set up properly by adding the following to your `.env` file:
env
QUEUE_CONNECTION=database
Then, create the jobs table and run the migration:
php artisan queue:table
php artisan migrate
Logging
To enable logging, add this to your .env file:
FCM_LOGGING=true
Set to false to disable logging.
Known Issues
Ensure FCM tokens are valid, as invalid tokens might cause delivery failures.
Invalid service account credentials will cause the package to fail to obtain an access token from Firebase.
License
This package is open-sourced under the MIT license.
Support
For support or more details you can reach out at [email protected].All versions of digi-notification with dependencies
PHP Build Version
Package Version
The package digimantra/digi-notification contains the following files
Loading the files please wait ...