Download the PHP package csgt/notification-channel-goip without Composer
On this page you can find all versions of the php package csgt/notification-channel-goip. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download csgt/notification-channel-goip
More information about csgt/notification-channel-goip
Files in csgt/notification-channel-goip
Package notification-channel-goip
Short Description Notification channel GoIP.
License MIT
Homepage https://github.com/csgt/laravel-notification-channels-goip
Informations about the package notification-channel-goip
Direkto notifications channel for Laravel 5.4+
This package makes it easy to send [Direkto notifications] with Laravel 5.4.
Contents
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
You must install the service provider:
Setting up your Direkto account
Add your Direkto Account SID, Auth Token, and From Number (optional) to your config/services.php
:
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which phone are you sending/calling to, the channel will look for the celular
attribute of the Notifiable model. If you want to override this behaviour, add the routeNotificationForDirekto
method to your Notifiable model.
Available Message methods
GoIPSmsMessage
from('')
: Accepts a phone to use as the notification sender.content('')
: Accepts a string value for the notification body.
Changelog
Please see CHANGELOG for more information what has changed recently.
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
License
The MIT License (MIT). Please see License File for more information.