~thirdplace/twilio

Twilio http client - send sms
fix: twilio returns http 201 on success
fix typo
initial commit

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~thirdplace/twilio
read/write
git@git.sr.ht:~thirdplace/twilio

You can also use your local clone with git send-email.

#Twilio

Send sms using Twilio's http api.

#Tutorial

Install

composer require thirdplace/twilio

Example

<?php
    $result = \Thirdplace\twilio_send_sms(
        'TWILIO_SID',
        'TWILIO_AUTH_TOKEN',
        'THIRDPLACE',
        '+4799999999',
        'Hello world!',
    );

    var_dump($result);