Download the PHP package kvalitetskontroll/laravel-notification-channel-teletopia-sms without Composer
On this page you can find all versions of the php package kvalitetskontroll/laravel-notification-channel-teletopia-sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kvalitetskontroll/laravel-notification-channel-teletopia-sms
More information about kvalitetskontroll/laravel-notification-channel-teletopia-sms
Files in kvalitetskontroll/laravel-notification-channel-teletopia-sms
Package laravel-notification-channel-teletopia-sms
Short Description TeletopiaSMS Notification Channel For Laravel
License MIT
Homepage https://github.com/kvalitetskontroll/laravel-notification-channel-teletopia-sms
Informations about the package laravel-notification-channel-teletopia-sms
TeletopiaSMS Notifications Channel for Laravel
This package makes it easy to send notifications using TeletopiaSMS with Laravel 5.5+, 6.x and 7.x
Contents
- Installation
- Usage
- Available Message methods
- Changelog
- Security
- Contributing
- License
Installation
-
Install via composer
-
Add the configuration to your
services.php
config file: - Add credentials to the
.env
file
Usage
You can use the channel in your via()
method inside the notification:
In your notifiable model, make sure to include a routeNotificationForTeletopiasms()
method, which returns a phone number with the country code. Else you need to specify the phone number manually.
Available Message methods
Required
string message()
: Sets the content of the notification message.
Optional
array|string recipients()
: Sets the recipient number(s) of the sms.
* The phone number should be a number without leading '+', only the country code and the subscriber`s number including the area code.
string sender()
: Sets the sender's name or phone number.
string salutation()
: Sets the salutation of the message.
string greeting()
: Sets the greeting of the message.
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.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-notification-channel-teletopia-sms with dependencies
illuminate/notifications Version ~6.0 || ~7.0 || ~8.0
illuminate/support Version ~6.0 || ~7.0 || ~8.0