Files
Verde-Web/app/Services/Sms/LogSmsService.php
admin dc297d4cd7 feat(backend): complete Module 1 auth (register/login/OTP/reset)
Closes Module 1: 9 auth endpoints under /api/v1/auth, OTP via SMS
(Semaphore + log + fake drivers), role middleware, role + admin seeders,
27 feature tests passing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 21:46:53 +08:00

18 lines
391 B
PHP

<?php
namespace App\Services\Sms;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str;
class LogSmsService implements SmsService
{
public function send(string $to, string $message): SmsResult
{
$id = (string) Str::uuid();
Log::info('SMS (log driver)', ['id' => $id, 'to' => $to, 'message' => $message]);
return SmsResult::success($id);
}
}