| Ratings |   | Unique User Downloads |   | Download Rankings | 
| Not yet rated by the users |  | Total: 242  |  | All time:  8,023 This week: 524  | 
 | 
| Description |   | Author  | 
This package can be used to send SMS messages using the Twilio API. 
 
It can send HTTP requests to the Twilio API Web server to send a given text to a recipient with a given phone number from a given sender number. 
 
A separate class can be used to send SMS messages with a minimal amount of calling code. Innovation Award 
  April 2020 
Number 8 | 
Twilio is a popular service for sending SMS messages and providing other telephone base services. 
 
This package provide a PHP API to send SMS messages using the Twilio API using just two lines of code. 
 
Manuel Lemos | 
 
 
 
 |  | 
  | 
 | 
Innovation award
   Nominee: 4x |  
 
 
  | 
Recommendations
Example
<?php 
require __DIR__ . '/../vendor/autoload.php'; 
 
use NikoPeikrishvili\TwilioMinimal\TwilioConfig; 
use NikoPeikrishvili\TwilioMinimal\TwilioMinimal; 
 
$config = new TwilioConfig(); 
$config->setSenderNumber(""); 
$config->setClientSid(""); 
$config->setAuthToken(""); 
 
$twilio = new TwilioMinimal($config); 
 
$twilio->send("+00000000000", "Messge body");
 
 | 
 
Details
TwilioMinimal

Minimal Twilio package just for sending SMS Messages
Supported PHP Versions
Instalation Via Composer:
TwilioMinimal is available on Packagist as the
nikopeikrishvili/twiliominimal package:
composer require nikopeikrishvili/twiliominimal
Quickstart
Send an SMS
<?php
require __DIR__ . '/vendor/autoload.php';
use 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");
Testing
composer test
Coding style checks
composer cs
 
 
|   | 
Applications that use this package | 
  | 
No pages of applications that use this class were specified.
 If you know an application of this package, send a message to the author to add a link here.