hariadi / sms
PHP implementation of SMS Service in Malaysia
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 0
pkg:composer/hariadi/sms
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-09-24 19:08:03 UTC
README
PHP implementation of ISMS Service
Usage
Send SMS:
//require_once 'src/Sms/isms.php'; // not required using composer $sms = new \Sms\isms( $login, $password ); $sms->setMessage('Some message'); $sms->setNumber('Some number'); $sms->setNumber(array('number1', 'number2')); $response = $sms->send(); var_dump($response);
Check Balance:
//require_once 'src/Sms/isms.php'; // not required using composer $sms = new \Sms\isms( $login, $password ); $response = $sms->balance(); var_dump($response);
Schedule SMS:
$sms = new \Sms\isms( $login, $password ); $sms->setMessage('Some message'); $sms->setNumber('Some number'); $sms->setNumber(array('number1', 'number2')); $sms->schedule($desc, $tr = 'onetime', $date, $hour, $min, $week = 1, $month = 1, $day = 1); $response = $sms->send(); var_dump($response);
Official Documentation
Documentation for the entire SMS API Integration can be found on the ISMS website.
Contributing
All pull requests should be filed on the development branch hariadi/isms repository.
License
The ISMS PHP Library is open-sourced software licensed under the MIT license