PHPackages                             shiroamada/ultrasms-laravel-notification - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. shiroamada/ultrasms-laravel-notification

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

shiroamada/ultrasms-laravel-notification
========================================

UltraSms Notifications channel for Laravel 11 and Above

v11.0.0(9mo ago)21891MITPHPPHP ^8.1

Since Feb 24Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/shiroamada/ultrasms-laravel-notification)[ Packagist](https://packagist.org/packages/shiroamada/ultrasms-laravel-notification)[ Docs](https://github.com/shiroamada/ultrasms-laravel-notification)[ RSS](/packages/shiroamada-ultrasms-laravel-notification/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (16)Used By (0)

UltraSms notifications channel for Laravel 11+
==============================================

[](#ultrasms-notifications-channel-for-laravel-11)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fd92e92037c555288fed2d25fd30769b1f2223097305e4bbf86a1cc4626711df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736869726f616d6164612f756c747261736d732d6c61726176656c2d6e6f74696669636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shiroamada/ultrasms-laravel-notification)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/f3658613bb9a897103280c879ae3b6ae017153090ee26dadd2ec901309802a06/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736869726f616d6164612f756c747261736d732d6c61726176656c2d6e6f74696669636174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/shiroamada/gosms)[![StyleCI](https://camo.githubusercontent.com/bf1c608713e682f212c3c4d6ebf4ba88fac89523c7be89759dfd130018839cd8/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130383530333034332f736869656c64)](https://styleci.io/repos/108503043)[![Quality Score](https://camo.githubusercontent.com/b925f4bd4768a284eafd1e1ee58589acbabf74c2a45f08ca40d665f2223c1075/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d73632d72752e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/ultrasms-laravel-notification)[![Code Coverage](https://camo.githubusercontent.com/c6e91725dc4d758ae458181df7134d2e1fc833f0a4d650c926798d54489a208a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d73632d72752f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/shiroamada/ultrasms-laravel-notification/?branch=main)[![Total Downloads](https://camo.githubusercontent.com/d319f9801bf185ae380aa3f7da2c6a7909750a7bdf5272983616ba8f4f5a8b70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736869726f616d6164612f756c747261736d732d6c61726176656c2d6e6f74696669636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shiroamada/ultrasms-laravel-notification)

This package makes it easy to send notifications using  with Laravel 11+.

Code Reference from laravel-notification-channels/smsc-ru

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the UltraSMS service](#setting-up-the-ultrasms-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require shiroamada/ultrasms-laravel-notification
```

Then you must install the service provider:

```
// config/app.php
'providers' => [
    ...
    NotificationChannels\UltraSms\UltraSmsServiceProvider::class,
],
```

### Setting up the UltraSMS service

[](#setting-up-the-ultrasms-service)

Add your ultrasms instanceId and token to your `config/services.php`:

```
// config/services.php
...
'ultrasms' => [
    'isEnable' => env('ULTRASMS_ENABLE') ?? 0,
    'instanceId' => env('ULTRASMS_INSTANCEID'),
    'token' => env('ULTRASMS_TOKEN'),
    'isMalaysiaMode' => env('ULTRASMS_MALAYSIA_MODE') ?? 0,
    'isEnable' => env('ULTRASMS_ENABLE') ?? 0,
    'isDebug' => env('ULTRASMS_DEBUG_ENABLE') ?? 0,
    'debugReceiveNumber' => env('ULTRASMS_DEBUG_RECEIVE_NUMBER'),
],
...
```

Usage
-----

[](#usage)

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

```
use Illuminate\Notifications\Notification;
use NotificationChannels\UltraSms\UltraSmsMessage;
use NotificationChannels\UltraSms\UltraSmsChannel;

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

    public function toUltraSms($notifiable)
    {
        return UltraSmsMessage::create("Task #{$notifiable->id} is complete!");
    }
}
```

In your notifiable model, make sure to include a routeNotificationForUltraSms() method, which return the phone number.

```
public function routeNotificationForUltraSms()
{
    return $this->mobile; //depend what is your db field
}
```

### Available methods

[](#available-methods)

`content()`: Set a content of the notification message.

`sendAt()`: Set a time for scheduling the notification message.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please use the issue tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [ShiroAmada](https://github.com/shiroamada)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance58

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 93.8% 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.

###  Release Activity

Cadence

Every ~90 days

Recently: every ~203 days

Total

15

Last Release

280d ago

Major Versions

v1.0.7 → v2.0.02023-02-13

v1.0.8 → v2.0.22023-07-07

v1.0.9 → v11.0.02025-08-06

PHP version history (4 changes)v1.0.0PHP ^7.1

v1.0.7PHP &gt;=7.2

v2.0.0PHP ^7.3|^8.0

v11.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3656c76ad7afe5d382a395d4e398ba80499f17c64731f18523802c3b18810cc?d=identicon)[shiroamada](/maintainers/shiroamada)

---

Top Contributors

[![shiroamada](https://avatars.githubusercontent.com/u/2062946?v=4)](https://github.com/shiroamada "shiroamada (15 commits)")[![saber13812002](https://avatars.githubusercontent.com/u/3294604?v=4)](https://github.com/saber13812002 "saber13812002 (1 commits)")

---

Tags

laravelnotificationsultrasms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shiroamada-ultrasms-laravel-notification/health.svg)

```
[![Health](https://phpackages.com/badges/shiroamada-ultrasms-laravel-notification/health.svg)](https://phpackages.com/packages/shiroamada-ultrasms-laravel-notification)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[benwilkins/laravel-fcm-notification

Laravel FCM (Firebase Cloud Messaging) Notification Channel

210964.1k1](/packages/benwilkins-laravel-fcm-notification)[laravel-notification-channels/smsc-ru

SmscRu Notifications channel for Laravel 5.3.

51192.8k](/packages/laravel-notification-channels-smsc-ru)

PHPackages © 2026

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