Download the PHP package laravel-notification-channels/infobip without Composer
On this page you can find all versions of the php package laravel-notification-channels/infobip. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-notification-channels/infobip
More information about laravel-notification-channels/infobip
Files in laravel-notification-channels/infobip
Package infobip
Short Description Infobip notification channel for Laravel
License MIT
Homepage https://github.com/laravel-notification-channels/infobip
Informations about the package infobip
Laravel Notifications Channel for Infobip
This package makes it easy to send notifications using Infobip with Laravel 5.5+, 6.x and 7.x
Contents
- Installation
- Setting up the Infobip service
- Usage
- On-Demand Notifications
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Setting up your Infobip account
Add your Infobip Product Token and default originator (name or number of sender) to your config/services.php
:
To change Base URL
to personal use this (See more)
Usage
You can use the channel in your via() method inside the notification:
In your notifiable model, make sure to include a routeNotificationForInfobip() method, which returns a phone number or an array of phone numbers.
On-Demand Notifications
Sometimes you may need to send a notification to someone who is not stored as a "user" of your application. Using the Notification::route method, you may specify ad-hoc notification routing information before sending the notification:
Available Message methods
from('')
: Accepts a phone number/sender name to use as the notification sender.. Make sure to register the sender name at you Infobip dashboard.
content('')
: Accepts a string value for the notification body.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
- Thomson Maguru
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of infobip with dependencies
illuminate/notifications Version ~5.5 || ~6.0 || ~7.0 || ~8.0
illuminate/support Version ~5.5 || ~6.0 || ~7.0 || ~8.0
infobip/infobip-api-php-client Version dev-master