| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| 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());
}
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Doc. | Documentation | |||
| Example | Example script | |||
| / | src | / | ISMS |
| File | Role | Description |
|---|---|---|
| |
Class | Class source |
| |
Class | Class source |
| |
Class | Class source |
| |
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. |
| 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.