PHP code example of nikopeikrishvili / twiliominimal

1. Go to this page and download the library: Download nikopeikrishvili/twiliominimal library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nikopeikrishvili / twiliominimal example snippets



NikoPeikrishvili\TwilioMinimal\TwilioConfig;
use NikoPeikrishvili\TwilioMinimal\TwilioMinimal;

$config = new TwilioConfig();
// Sender phone number 
$config->setSenderNumber("");
// Client SID
$config->setClientSid("");
// Client Auth Token
$config->setAuthToken("");

$twilio = new TwilioMinimal($config);

$twilio->send("+00000000000", "Message body");