itsaafrin / isms by itsaafrin

A Laravel 4 SMS Api Package (isms.com.my)
5
4
4
Package Data
Maintainer Username: itsaafrin
Maintainer Contact: info@aafrin.com (Aafrin)
Package Create Date: 2014-04-05
Package Last Update: 2014-09-03
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 03:02:17
Package Statistics
Total Downloads: 5
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 4
Total Watchers: 4
Total Forks: 1
Total Open Issues: 0

Malaysian SMS Gateway API (Laravel 4 Package)

Introduction This is Laravel 4 Package that can be used to integrate Malaysian SMS gateway to your project. The following package is utilizing the SMS gateway service provided by ISMS (isms.com.my)

Installation In the require key of composer.json file add the following

Next run the composer update command to fetch and update the package into your project

In your config/app.php add 'Itsaafrin\Isms\IsmsServiceProvider' to the end of the $providers array

At the end of config/app.php add 'ISMS' => 'Itsaafrin\Isms\IsmsFacade' to the $aliases array

Navigate to vendor/itsaafrin/isms/src/config/config.php and add your username and password of the isms.com.my account

Usage To send sms:

To check balance:

Both the function above will return http result and http code as an array. For sending message, empty response for http result indicates message sent successfully.

Example Sending message:

Checking Balance:

Bugs & Errors Raise any bugs or erros here.

Note: This is just an initial release and more functionality will be added as the time goes. Feel free to raise any feature request or suggestion. More info -- http://www.laravelmy.com/2014/04/05/malaysian-sms-gateway-api-laravel-4-package/