@extends('layouts.app') @section('title', 'SMS Settings') @push('style') @endpush @section('content')

{{ strtoupper($setting->provider ?? 'twilio') }}

Provider

{{ $setting->active ? 'Active' : 'Inactive' }}

{{ $setting->from_number ?: 'Not set' }}

From

{{ $setting->last_tested_at ? $setting->last_tested_at->diffForHumans() : 'Never tested' }}

SMS Configuration

@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
This setup supports Twilio (SMS & WhatsApp).
WhatsApp requires approved senders in Twilio.
E.164 format, e.g. +14155550123. For WhatsApp, enter the number only; prefix is added automatically.
If provided, Twilio will use your Messaging Service instead of the From number.
Leave blank to keep current token.
Tip: You can also send a one‑off test below without saving again.

@csrf
A queued job will send a simple test message using the current active settings.
@endsection @push('script') @endpush