Path: C:\
<?php
require '../vendor/autoload.php';
use Twilio\Rest\Client;
// Your Account SID and Auth Token from twilio.com/console
$account_sid = 'ACa085f93bddc6945dc9e6699e1a6f25bf';
$auth_token = '4fdd7ad53eabdd9f2ceb7a02851c1777';
// In production, these should be environment variables. E.g.:
// $auth_token = $_ENV["TWILIO_AUTH_TOKEN"]
// A Twilio number you own with SMS capabilities
$twilio_number = "+13254212171";
$client = new Client($account_sid, $auth_token);
$client->messages->create(
// Where to send a text message (your cell phone?)
'+5519981483917',
array(
'from' => $twilio_number,
'body' => 'π§π₯ππ‘π¦πͺππ₯: Envio de ππ
Όπ de nΓ£o conformidade.'
)
);
// recovery code: XJ5E-S_oYveRh7AQZS64-OWkV5ZhlvqT6ERBoC81