dev-master
9999999-devPHP library for ISMS SMS API
MIT
The Requires
v1.1
1.1.0.0PHP library for ISMS SMS API
MIT
The Requires
Wallogit.com
2017 © Pedro Peláez
PHP library for ISMS SMS API
iSMS PHP Client, (*1)
Please check isms site for the list of response error codes and description. https://www.isms.com.my/response_result.php, (*2)
$ composer.phar install
require './vendor/autoload.php';
use ISMS\Recipient;
use ISMS\Message;
use ISMS\SMS;
$recipient = new Recipient('9999999');
$message = new Message($recipient, 'message to send');
$sms = new SMS('username', 'password', $message);
try
{
$sms->send();
}
catch (\Exception $e)
{
var_dump($e->getMessage(), $e->getCode());
}
require './vendor/autoload.php';
use ISMS\Balance;
$balance = new Balance('username', 'password');
try
{
echo $balance->get();
}
catch (\Exception $e)
{
var_dump($e->getMessage(), $e->getCode());
}
PHP library for ISMS SMS API
MIT
PHP library for ISMS SMS API
MIT