richbarrett / itagg-sdk-php
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP SDK for the iTagg SMS service
1.0
2017-10-24 11:57 UTC
Requires
- php: >=5.6.0
- nategood/httpful: ^0.2.20
This package is not auto-updated.
Last update: 2021-07-07 08:09:04 UTC
README
Overview
This was created as a lightweight PHP SDK for communicating with the iTAGG SMS API.
Usage
include_once('vendor/autoload.php'); use richbarrett\itagg\send; $send = new send('YOUR_USER','YOUR_PASSWORD'); $send->addTo('00000000000'); $send->setBody('Hello world'); $send->setFrom('iTagg SMS'); try { $response = $send->sendRequest(); die('Success!'); } catch (\Exception $e) { die('Failed with error: '.$e->getMessage()); }