Download the PHP package usamatoor/firebase-notifications without Composer
On this page you can find all versions of the php package usamatoor/firebase-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download usamatoor/firebase-notifications
More information about usamatoor/firebase-notifications
Files in usamatoor/firebase-notifications
Download usamatoor/firebase-notifications
More information about usamatoor/firebase-notifications
Files in usamatoor/firebase-notifications
Vendor usamatoor
Package firebase-notifications
Short Description Laravel Firebase Notifications package using OAuth2 (Google) with cURL.
License MIT
Package firebase-notifications
Short Description Laravel Firebase Notifications package using OAuth2 (Google) with cURL.
License MIT
Please rate this library. Is it a good library?
Informations about the package firebase-notifications
📚 Full Documentation
🔥 Laravel Firebase Notifications (OAuth2)
Send Firebase Cloud Messaging (FCM) notifications securely using OAuth2 in Laravel.
📦 Installation
composer require usamatoor/firebase-notifications
If you're developing locally:
"repositories": [
{
"type": "path",
"url": "packages/Usama/firebase-notifications"
}
]
composer require usamatoor/firebase-notifications
"repositories": [
{
"type": "path",
"url": "packages/Usama/firebase-notifications"
}
]
Then run:
composer require usamatoor/firebase-notifications:dev-main
🔧 Configuration
Add the following to your .env file:
FIREBASE_CLIENT_ID=your-client-id
FIREBASE_CLIENT_SECRET=your-client-secret
FIREBASE_REFRESH_TOKEN=your-refresh-token
FIREBASE_PROJECT_ID=your-project-id
🚀 Usage
use Usama\FirebaseNotifications\FirebaseNotifications;
$firebase = new FirebaseNotifications();
$firebase->send(
$firebaseToken,
'Welcome!',
'Thank you for signing up.',
['data' => ['custom' => 'payload']]
);
📘 Documentation
- Full guide available in the
/docs directory.
- Includes advanced usage, exception handling, and token refresh logic.
🙌 Contributing
use Usama\FirebaseNotifications\FirebaseNotifications;
$firebase = new FirebaseNotifications();
$firebase->send(
$firebaseToken,
'Welcome!',
'Thank you for signing up.',
['data' => ['custom' => 'payload']]
);
- Full guide available in the
/docsdirectory. - Includes advanced usage, exception handling, and token refresh logic.
🙌 Contributing
Pull requests are welcome! For major changes, please open an issue first.
- Installation
- Configuration
- Usage
- Exceptions
- Advanced Features
- Contributing
Created with ❤️ by Usama Toor
All versions of firebase-notifications with dependencies
PHP Build Version
Package Version
The package usamatoor/firebase-notifications contains the following files
Loading the files please wait ...