<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
frolax / ultimate-sms-notification-channel example snippets
use UltimateSmsNotificationChannel\UltimateSmsMessage;
public function via($notifiable)
{
return ['ultimate_sms'];
}
public function toUltimateSms($notifiable)
{
return (new UltimateSmsMessage())
->content('This is a test message');
}
use Illuminate\Support\Facades\Notification;
use App\Notifications\YourNotification;
Notification::route('ultimate_sms', '31612345678')->notify(new YourNotification());
UltimateSmsMessage::create('This is a test message')
->to('31612345678,880172145789');