mvbcoding / spryngclient-php
PHP Client for the spryng.nl sms API
0.0.1
2016-09-04 16:47 UTC
Requires
- php: >=5.6
- guzzlehttp/guzzle: ^6.2
This package is auto-updated.
Last update: 2025-01-14 06:06:38 UTC
README
Installing
The recommended way of installing the spryng client is through composer:
If you don't yet have composer installed: curl -sS https://getcomposer.org/installer | php
Add spryngclient to your composer.json: ./composer.phar require mvbcoding/spryngclient-php
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