PHPackages                             itsaafrin/isms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. itsaafrin/isms

ActiveLibrary[API Development](/categories/api)

itsaafrin/isms
==============

A Laravel 4 SMS Api Package (isms.com.my)

451PHP

Since Sep 3Pushed 11y ago3 watchersCompare

[ Source](https://github.com/itsaafrin/isms)[ Packagist](https://packagist.org/packages/itsaafrin/isms)[ RSS](/packages/itsaafrin-isms/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Malaysian SMS Gateway API (Laravel 4 Package)
=============================================

[](#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

```
"itsaafrin/isms": "dev-master"
```

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

```
composer update
```

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

```
'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Itsaafrin\Isms\IsmsServiceProvider',

),
```

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

```
'aliases' => array(

    'App'        => 'Illuminate\Support\Facades\App',
    'Artisan'    => 'Illuminate\Support\Facades\Artisan',
    ...
    'ISMS' => 'Itsaafrin\Isms\IsmsFacade',

),
```

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

```
'username' => 'your_username',
'password' => 'your_password',
```

**Usage**
To send sms:

```
ISMS::SendSMS("destination no", "message to be sent", "sms type");
```

- The first parameter (destination\_no) : The number where the message should be sent.
- The second parameter (message to be sent) : The content of the message.
- The third parameter (sms type) : 1 for ASCII and 2 for UNICODE

To check balance:

```
ISMS::CheckBalance();
```

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:

```
public function SendTestMsg(){
$result = ISMS::SendSMS("0123456789", "Hello World", "2");
dd($result);
}
```

Checking Balance:

```
public function CheckTestBalance(){
$result = ISMS::CheckBalance();
dd($result);
}
```

**Bugs &amp; Errors**
Raise any bugs or erros [here](https://github.com/itsaafrin/isms).

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 --

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4734645?v=4)[Aafrin](/maintainers/itsaafrin)[@itsaafrin](https://github.com/itsaafrin)

---

Top Contributors

[![itsaafrin](https://avatars.githubusercontent.com/u/4734645?v=4)](https://github.com/itsaafrin "itsaafrin (7 commits)")

### Embed Badge

![Health badge](/badges/itsaafrin-isms/health.svg)

```
[![Health](https://phpackages.com/badges/itsaafrin-isms/health.svg)](https://phpackages.com/packages/itsaafrin-isms)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
