I am quite a beginner in PHP so my apologies.
I have spent many hours googling now and i still keep getting the same errors, I am trying to get a sms service up at running using twilio. I have installed composer, ran the 'composer require twilio/sdk' script. Below is the starter code which should allow you to send messages. Also running server with WAMP.
"( ! ) Parse error: syntax error, unexpected 'use' (T_USE) in C:\wamp64\www\send-message.php on line 3" is the error all the time
Sorry to ask, I just really confused on the reasoning.
<?php
 require __DIR__ . '/vendor/autoload.php'
 use Twilio\Rest\Client;
 $sid = 'whereSIDwouldgo'; // have checkd this
 $token = 'whereTokenWouldgo'; // have checked this
 $client = new Client($sid, $token);
 $client->messages->create(
       '+440000000000',// normally have registered number
   array(
    // A Twilio phone number you purchased at twilio.com/console
    'from' => '+4400000000',// normally have registered number
    // the body of the text message you'd like to send
    'body' => 'Hey, hows it going?'
)
);
?>
