<?php
require 'twilio-php-main/src/Twilio/autoload.php';

// Use the REST API Client to make requests to the Twilio REST API
use Twilio\Rest\Client;

// Your Account SID and Auth Token from twilio.com/console
$sid = 'ACc947bae392b866f4fa851b25d831359a';
$token = 'bf37138e61177eb0cd7903466fc07cc9';
$client = new Client($sid, $token);

// Use the client to do fun stuff like send text messages!
$client->messages->create(
    // the number you'd like to send the message to
    '+16479818740',
    [
        // A Twilio phone number you purchased at twilio.com/console
        'from' => '+13344715767',
        // the body of the text message you'd like to send
        'body' => 'Hey Jenny! Good luck on the bar exam!'
    ]
);