Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2020-04-19 (4 months ago)  | | Not yet rated by the users | | Total: 197 This week: 1 | | All time: 8,331 This week: 221 |
|
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. Recommendations
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: 1x |
|
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.