This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

An SMS Sender for the TextLocal API

1.0.0 2017-01-16 09:40 UTC

This package is auto-updated.

Last update: 2021-08-31 00:44:20 UTC


README

An SMS Sender for the TextLocal version 2 API

This package is currently being updated to a new version, please check issues for progress

A simple example:

// Accepts API KEY and API MODE as arguements. 
// API MODE set as true means that we are only testing against the API, not making full requests
$key = "1234567890-YOUR-API-KEY-1234567890";
$sender = new Sender($key, true);

// Our instance has been created, time to use it
// Get the balance on your Text Local Account
$balance = $sender->balance();