Please see this repo for instructions on how to submit a channel proposal.
This package makes it easy to send notifications using [Textit](link to service) with Laravel 5.5+, 6.x and 7.x
You can install this package via composer:
composer require owaslo/textit
Add your Textit sms gate user, password and baseurl to your config/services.php:
// config/services.php
...
'textit' => [
'user' => env('TEXTIT_USER'),
'password' => env('TEXTIT_PASSWORD'),
'baseurl' => env('TEXTIT_BASEURL'),
],
...
You can use the channel in your via() method inside the notification:
use Illuminate\Notifications\Notification;
use NotificationChannels\TurboSMS\TurboSMSMessage;
class AccountApproved extends Notification
{
public function via($notifiable)
{
return ["textit"];
}
public function toTextit($notifiable)
{
return (new TextitMessage("Your account was approved!"));
}
}
A list of all available options
Please see CHANGELOG for more information what has changed recently.
$ composer test
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.