brajox/mosms

API client for MoSMS payment gateway

Installs: 1

Dependents: 0

Stars: 1

Watchers: 1

Forks: 2

Open Issues: 1

Language: PHP

1.1.1 2015-03-16 12:15 UTC

README

Latest Stable Version License

A library to communicate with the MoSMS web service.

Example

<?php

use brajox\MoSMS;

$username = 'username';
$password = 'password';

$M = new MoSMS\Client(new MoSMS\HTTPConnector);
$M->setCredentials($username, $password);

$balance = $M->getBalance();

echo 'Account balance: '. ($balance/100) .' SEK excl. VAT'."\n";