Download the PHP package laravel-notification-channels/smsapi without Composer
On this page you can find all versions of the php package laravel-notification-channels/smsapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-notification-channels/smsapi
More information about laravel-notification-channels/smsapi
Files in laravel-notification-channels/smsapi
Package smsapi
Short Description Smsapi Notifications Channel for Laravel
License MIT
Homepage https://github.com/laravel-notification-channels/smsapi
Informations about the package smsapi
Smsapi notifications channel for Laravel
This package makes it easy to send notifications using Smsapi with Laravel 5.5+, 6.x, & 7.x
Contents
- Installation
- Setting up the Smsapi service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
You can also publish the config file with:
Setting up the Smsapi service
Log in to your Smsapi dashboard and configure your preferred authentication method. There is a
polish version and an international version
which have separated accounts.
Set your credentials and defaults in config/smsapi.php
:
Usage
You can use the channel in your via()
method inside the notification:
Add a routeNotificationForSmsapi
method to your Notifiable model to return the phone number(s):
Or add a routeNotificationForSmsapiGroup
method to return the contacts group:
Available Message methods
SmsapiSmsMessage
to(string|string[] $to)
group(string $group)
content(string $content)
template(string $template)
from(string $from)
fast(bool $fast = true)
flash(bool $flash = true)
encoding(string $encoding)
normalize(bool $normalize = true)
nounicode(bool $nounicode = true)
single(bool $single = true)
date(int|string $date)
notifyUrl(string $notifyUrl)
partner(string $partner)
test(bool $test = true)
SmsapiMmsMessage
to(string|string[] $to)
group(string $group)
subject(string $subject)
smil(string $smil)
date(int|string $date)
notifyUrl(string $notifyUrl)
partner(string $partner)
test(bool $test = true)
SmsapiVmsMessage
to(string|string[] $to)
group(string $group)
file(string $file)
tts(string $tts)
ttsLector(string $ttsLector)
from(string $from)
tries(int $tries)
interval(int $interval)
skipGsm(bool $skipGsm = true)
date(int|string $date)
notifyUrl(string $notifyUrl)
partner(string $partner)
test(bool $test = true)
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
- Mateusz Drost
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of smsapi with dependencies
illuminate/notifications Version ~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0
illuminate/support Version ~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0
smsapi/php-client Version ^1.8