PHP Classes


Recommend this page to a friend!
  Classes of Niko Peikrishvili   Minimal Twilio PHP API Send SMS   Download  
Role: Documentation
Content type: text/markdown
Description: Read me
Class: Minimal Twilio PHP API Send SMS
Send SMS messages using the Twilio API
Author: By
Last change:
Date: 3 years ago
Size: 1,204 bytes


Class file image Download


Build Status Coverage

Minimal Twilio package just for sending SMS Messages

Supported PHP Versions

  • 7.1
  • 7.2
  • 7.3
  • 7.4

Instalation Via Composer:

TwilioMinimal is available on Packagist as the nikopeikrishvili/twiliominimal package:

composer require nikopeikrishvili/twiliominimal


Send an SMS

require __DIR__ . '/vendor/autoload.php';

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

$config = new TwilioConfig();
// Sender phone number 
// Client SID
// Client Auth Token

$twilio = new TwilioMinimal($config);

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


composer test

Coding style checks

composer cs