| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
|    52% | Total: 237 | All time:  8,070 This week: 455  | ||||
| Version | License | PHP version | Categories | |||
| isms-php 1.0.1 | MIT/X Consortium ... | 5 | PHP 5, Wireless and Mobile, Web services | 
| Description | Author | |
| This package can send SMS messages and get the balance of iSMS. | 
iSMS PHP Client
Please check isms site for the list of response error codes and description. https://www.isms.com.my/response_result.php
$ 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());
}
|  Files (9) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  src (1 directory) | ||||
|    composer.json | Data | Auxiliary data | ||
|    composer.lock | Data | Auxiliary data | ||
|    LICENSE | Lic. | License text | ||
|    README.md | Doc. | Documentation | ||
|    test.php | Example | Example script | ||
|  Files (9) | / | src | / | ISMS | 
| File | Role | Description | 
|---|---|---|
|  Balance.php | Class | Class source | 
|  Message.php | Class | Class source | 
|  Recipient.php | Class | Class source | 
|  SMS.php | Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| User Ratings | ||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.