PHPackages                             medkad/laravel-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. medkad/laravel-isms

ActiveLibrary

medkad/laravel-isms
===================

Laravel Notification Channel For iSMS

1481PHP

Since Jul 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/medkadsdnbhd/laravel-isms)[ Packagist](https://packagist.org/packages/medkad/laravel-isms)[ RSS](/packages/medkad-laravel-isms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Medkad SMS: ISMS (Laravel Notification Channel)
===============================================

[](#medkad-sms-isms-laravel-notification-channel)

Getting started
---------------

[](#getting-started)

Please register to your account credentials at [iSMS Official Website](https://www.isms.com.my/register.php). The API is using Basic Authentication(so ***username*** and ***password*** will do).

Installation
------------

[](#installation)

via composer:

```
composer require medkad/laravel-isms
```

### Publish iSMS Config File

[](#publish-isms-config-file)

```
php artisan vendor:publish --provider="Medkad\ISMS\ISMSServiceProvider"
```

### Setting up your configuration

[](#setting-up-your-configuration)

Add your ISMS Account credentials to your `config/isms.php`:

```
// config/isms.php
...
    'username'  =>  env('ISMS_USERNAME', 'medkad'),
    'password'  =>  env('ISMS_PASSWORD', 'password'),
    'url'   =>  env('ISMS_URL', 'https://www.isms.com.my/RESTAPI.php'),
...
```

```
// .env
...
ISMS_USERNAME=
ISMS_PASSWORD=
ISMS_URL='https://www.isms.com.my/RESTAPI.php'
...
```

In order to let your Notification know which phone are you sending to, the channel will look for the `mobile_number` attribute of the Notifiable model (eg. User model). If you want to override this behaviour, add the `routeNotificationForISMS` method to your Notifiable model.

```
public function routeNotificationForISMS()
{
    return $this->phone_number;
}
```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use Medkad\ISMS\ISMS;
use Medkad\ISMS\ISMSChannel;
use Illuminate\Notifications\Notification;

class OrderNotification extends Notification
{
    public function via($notifiable)
    {
        return [ISMSChannel::class];
    }

    public function toISMS($notifiable)
    {
        return new ISMS('Your SMS Here!');
    }
}
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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://www.gravatar.com/avatar/cb834a14f5d18196ef65978e03e342aef305d2fba382875b9f1413df41addb83?d=identicon)[samtarmizi](/maintainers/samtarmizi)

---

Top Contributors

[![samtarmizi](https://avatars.githubusercontent.com/u/48077864?v=4)](https://github.com/samtarmizi "samtarmizi (18 commits)")

---

Tags

channelismslaravelnotification

### Embed Badge

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

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

PHPackages © 2026

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