Download the PHP package janyksteenbeek/laravel-bird-notifications without Composer
On this page you can find all versions of the php package janyksteenbeek/laravel-bird-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download janyksteenbeek/laravel-bird-notifications
More information about janyksteenbeek/laravel-bird-notifications
Files in janyksteenbeek/laravel-bird-notifications
Package laravel-bird-notifications
Short Description Bird notification channel for Laravel
License MIT
Homepage https://github.com/janyksteenbeek/laravel-bird-notifications
Informations about the package laravel-bird-notifications
Laravel Bird Notification Channel
This package provides a Laravel notification channel for sending SMS messages using the Bird API.
Installation
You can install this package via Composer:
Configuration
-
Add your Bird credentials to your
.env
file: - Add the configuration to
config/services.php
:
Usage
Basic Usage
First, create a notification class using Laravel's notification command:
Then, implement the toBird
method in your notification class:
Using BirdRoute for Dynamic Configuration
BirdRoute allows you to customize the Bird configuration per notification. This is useful when you need to:
- Send to multiple recipients
- Use different access tokens
- Use different workspaces
- Use different channels
Method 1: Using BirdRoute in the Notifiable Model
Method 2: Using BirdRoute in the Notification
Sending to Multiple Recipients
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Credits
- All Contributors
Special thanks to https://github.com/laravel-notification-channels/messagebird for providing a good base.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-bird-notifications with dependencies
illuminate/notifications Version ^9.0|^10.0|^11.0|^12.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/queue Version ^9.0|^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.2
ext-json Version *