<?php 
 
// Update the path below to your autoload.php, 
// see https://getcomposer.org/doc/01-basic-usage.md 
require_once 'src/Twilio/autoload.php'; 
 
use Twilio\Rest\Client; 
 
$sid    = "AC1f514b4bf4c079438f950e12843ff946"; 
$token  = "66cfbb8e0297a05b4a9ac2ead262a88e"; 
$twilio = new Client($sid, $token); 
 
$message = $twilio->messages 
                  ->create("whatsapp:+919039502106", // to 
                           array( 
                               "from" => "whatsapp:+14155238886",       
                               "body" => "Hello! This is an editable text message. You are free to change it and write whatever you like." 
                           ) 
                  ); 
 
print($message->sid);