/MoSMS-php

A library to communicate with the MoSMS web service.

Primary LanguagePHPMIT LicenseMIT

MoSMS

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";