mvbcoding/spryngclient-php

PHP Client for the spryng.nl sms API

0.0.1 2016-09-04 16:47 UTC

This package is auto-updated.

Last update: 2024-04-14 04:42:53 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