Download the PHP package enniel/laravel-asterisk-notification-channel without Composer
On this page you can find all versions of the php package enniel/laravel-asterisk-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download enniel/laravel-asterisk-notification-channel
More information about enniel/laravel-asterisk-notification-channel
Files in enniel/laravel-asterisk-notification-channel
Package laravel-asterisk-notification-channel
Short Description Asterisk Notifications Driver
License MIT
Homepage https://github.com/laravel-notification-channels/asterisk
Informations about the package laravel-asterisk-notification-channel
Asterisk notification channel for Laravel 5.3
This package makes it easy to send notifications using Asterisk Manager Interface (AMI) and Asterisk Chan Dongle with Laravel 5.3.
Contents
- Installation
- Setting up the Asterisk configuration
- Usage
- Available Message methods
- Changelog
- Testing
- Contributing
- Credits
- License
Installation
You can install this package via composer:
Next add the service provider to your config/app.php
:
Setting up the Asterisk service
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which phone number you are targeting, add the routeNotificationForAsterisk
method to your Notifiable model.
Important note: Asterisk requires the recipients phone number to be in international format. For instance: 0031612345678
Available message methods
content('test')
: Set message text.device('modem1')
: Set device for sending SMS message.
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
- Evgeni Razumov
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-asterisk-notification-channel with dependencies
illuminate/notifications Version ~5.3
illuminate/support Version ~5.1
enniel/ami Version ~2.1.0