PHPackages                             dgvai/laravel-notification-channel-onnorokomsms - 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. dgvai/laravel-notification-channel-onnorokomsms

ActiveLibrary

dgvai/laravel-notification-channel-onnorokomsms
===============================================

Laravel Notification Channel Package For OnnorokomSMS BD

1.0.3(5y ago)3152MITPHP

Since Apr 13Pushed 5y ago2 watchersCompare

[ Source](https://github.com/dgvai/laravel-notification-channel-onnorokomsms)[ Packagist](https://packagist.org/packages/dgvai/laravel-notification-channel-onnorokomsms)[ RSS](/packages/dgvai-laravel-notification-channel-onnorokomsms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

OnnorokomSMS notifications channel for Laravel
==============================================

[](#onnorokomsms-notifications-channel-for-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/c94185301f1ba54d8d22c88f12d3d82778c94d9dec5de5f3ba82baf2d7892ddb/68747470733a2f2f706f7365722e707567782e6f72672f64677661692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d6f6e6e6f726f6b6f6d736d732f762f737461626c65)](https://packagist.org/packages/dgvai/laravel-notification-channel-onnorokomsms)[![Total Downloads](https://camo.githubusercontent.com/e9dd8ae9c0d5a71bff07157629f103a876862c1a1dc6bfd3269fc29d083e76ec/68747470733a2f2f706f7365722e707567782e6f72672f64677661692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d6f6e6e6f726f6b6f6d736d732f646f776e6c6f616473)](https://packagist.org/packages/dgvai/laravel-notification-channel-onnorokomsms)[![Latest Unstable Version](https://camo.githubusercontent.com/0d036749bbcc67def35a29fe9816effbb307506eb6514a9e4443a06aadf96249/68747470733a2f2f706f7365722e707567782e6f72672f64677661692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d6f6e6e6f726f6b6f6d736d732f762f756e737461626c65)](https://packagist.org/packages/dgvai/laravel-notification-channel-onnorokomsms)[![License](https://camo.githubusercontent.com/c07ac2cfb8ec72fc56ca1c733ed8b3ff030941c52720c750b383eb418930153f/68747470733a2f2f706f7365722e707567782e6f72672f64677661692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d6f6e6e6f726f6b6f6d736d732f6c6963656e7365)](https://packagist.org/packages/dgvai/laravel-notification-channel-onnorokomsms)[![Monthly Downloads](https://camo.githubusercontent.com/68f9a48dd20bef7a7f904715a0a986b3bcad7647ce1912f19e8d4b9687d109e7/68747470733a2f2f706f7365722e707567782e6f72672f64677661692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d6f6e6e6f726f6b6f6d736d732f642f6d6f6e74686c79)](https://packagist.org/packages/dgvai/laravel-notification-channel-onnorokomsms)[![Daily Downloads](https://camo.githubusercontent.com/136a0ac2fe4e6e6c36fd324a401b845e15a9d9e70c0f06d17fdd8af07ba6bb43/68747470733a2f2f706f7365722e707567782e6f72672f64677661692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d6f6e6e6f726f6b6f6d736d732f642f6461696c79)](https://packagist.org/packages/dgvai/laravel-notification-channel-onnorokomsms)[![composer.lock](https://camo.githubusercontent.com/353005ae660b19eb53f475cdffaf0082efae1f1a1245c607cdccffde8eab8370/68747470733a2f2f706f7365722e707567782e6f72672f64677661692f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d6f6e6e6f726f6b6f6d736d732f636f6d706f7365726c6f636b)](https://packagist.org/packages/dgvai/laravel-notification-channel-onnorokomsms)

This package makes it easy to send sms via [OnnorokomSMS](https://www.onnorokomsms.com) bulk SMS Service (Bangladesh) with Laravel 5.5+, 6.x and 7.x.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up your OnnorokomSMS in configuration](#setting-up-your-configuration)
- [Usage](#usage)
- [Changelog](#changelog)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require dgvai/laravel-notification-channel-onnorokomsms
```

### Setting up your configuration

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

Add your OnnorokomSMS Account credentials to your `config/services.php`:

```
// config/services.php
...
'onnorokomsms' => [
    'username'      =>  env('ONNOROKOMSMS_USERNAME'),       // The username of OnnorokomSMS service
    'password'      =>  env('ONNOROKOMSMS_PASSWORD'),       // The password of OnnorokomSMS service
    'type'          =>  env('ONNOROKOMSMS_TYPE'),           // TEXT or UCS
    'mask_name'     =>  env('ONNOROKOMSMS_MASK_NAME'),      // optional but not null use ''
    'campaign_name' =>  env('ONNOROKOMSMS_CAMPAIGN_NAME'),  // optional but not null use ''
],
...
```

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 `routeNotificationForOnnorokomSMS` method to your Notifiable model.

```
public function routeNotificationForOnnorokomSMS()
{
    return '+1234567890';
}
```

Usage
-----

[](#usage)

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

```
use DGvai\OnnorokomSMS\OnnorokomSMS;
use DGvai\OnnorokomSMS\OnnorokomSMSChannel;
use Illuminate\Notifications\Notification;

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

    public function toOnnorokomSMS($notifiable)
    {
        return new OnnorokomSMS('Your order has been placed!');
    }
}
```

Changelog
---------

[](#changelog)

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

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~24 days

Total

4

Last Release

2146d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/53512998?v=4)[Jalal Uddin](/maintainers/dgvai)[@dgvai](https://github.com/dgvai)

---

Top Contributors

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

---

Tags

composer-packagelaravel-notification-channelslaravel-notificationslaravel-packageonnorokom-sms-service

### Embed Badge

![Health badge](/badges/dgvai-laravel-notification-channel-onnorokomsms/health.svg)

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

PHPackages © 2026

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