I'm trying to use twilio php api . This is my code: <?php $sid = "xxxxxx"; $token = "xxxxxxx"; $phone=$_POST["phone"]; $code=$_POST["code"]; $client = new Twilio\Rest\Client($sid, $token); $message = $client->messages->create( $phone, array( 'from' => 'xxxxxxx', 'body' => $code )); It gives me this error : Fatal error: Class 'Twilio\Rest\Client' not found in /home/vhosts/xxxx.xxxx.com/twilio/sms.php on line 9 I've also tried this code and didn't...
Originally asked by Neo Algeria on Stack Exchange (stackoverflow) (CC BY-SA 4.0).