DownloadTwilioMinimal
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
|