Download the PHP package crispaezco/laravel-routee-channel without Composer
On this page you can find all versions of the php package crispaezco/laravel-routee-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download crispaezco/laravel-routee-channel
More information about crispaezco/laravel-routee-channel
Files in crispaezco/laravel-routee-channel
Package laravel-routee-channel
Short Description Notification channel for routee.net
License MIT
Homepage https://github.com/anheric/laravel-routee-channel
Informations about the package laravel-routee-channel
Routee notifications channel for Laravel 5.3+
This package makes it easy to send SMS notifications using routee.net with Laravel 5.3+.
Warning!
Only Routee SMS is implemented at the moment, if you want more channels feel free to write them yourself in RouteeApi or point me to an API wrapper that we can switch to.
Contents
- Installation
- Setting up the Routee service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
Install this package with Composer:
The service provider gets loaded automatically. Or you can do this manually:
Setting up the Routee service
Add your Routee application id, application secret and sender id (from) to your config/services.php
:
Usage
You can use the channel in your via()
method inside the notification:
In your notifiable model, make sure to include a routeNotificationForRoutee()
method, which returns a phone number
or an array of phone numbers.
Available methods
content()
: Set a content of the notification message.
sendAt()
: Set a time for scheduling the notification message.
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
- anheric
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-routee-channel with dependencies
guzzlehttp/guzzle Version ^6.3
illuminate/notifications Version ^7.0
illuminate/support Version ^7.0
nyholm/psr7 Version ^1.2
symfony/psr-http-message-bridge Version ^1.2