library spryngclient-php
PHP Client for the spryng.nl sms API
mvbcoding/spryngclient-php
PHP Client for the spryng.nl sms API
- Sunday, September 4, 2016
- by mvanbaak
- Repository
- 0 Watchers
- 0 Stars
- 6 Installations
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Spryng SMS API client in PHP
Installing
The recommended way of installing the spryng client is through composer:, (*1)
If you don't yet have composer installed:
curl -sS https://getcomposer.org/installer | php, (*2)
Add spryngclient to your composer.json:
./composer.phar require mvbcoding/spryngclient-php, (*3)
Usage
#!php
require 'vendor/autoload.php';
$client = new MvBCoding\SpryngClient\Client('username', 'password');
$credits = $client->check_balance();
echo $credits->getMessage();
$result = $client->sendSms('sender', 'destination', 'message');
echo $result->getMessage();
LICENCE
MIT, (*4)