<?php
require __DIR__ . '/../lib/sms.php';  // go up one level, then into lib/

$to   = '+19542400878'; // Replace with your own number
$text = "🚗 Test SMS from the Guest Parking system at " . date("Y-m-d H:i:s");

$result = sendSMS($to, $text);

header('Content-Type: application/json');
echo json_encode($result);