PHPackages                             johnturingan/route-mobile-laravel-notifications - 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. johnturingan/route-mobile-laravel-notifications

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

johnturingan/route-mobile-laravel-notifications
===============================================

RouteMobile Notification Channel for laravel.

1.0.3(3y ago)0198MITPHPPHP ^7.1.3|^8.0

Since Apr 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/johnturingan/route-mobile-laravel-notifications)[ Packagist](https://packagist.org/packages/johnturingan/route-mobile-laravel-notifications)[ RSS](/packages/johnturingan-route-mobile-laravel-notifications/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

[route-mobile](https://routemobile.com/)-laravel-notifications
==============================================================

[](#route-mobile-laravel-notifications)

> A laravel package for sending notifications via [route-mobile](https://routemobile.com/) service.

Installation 🚥
--------------

[](#installation-traffic_light)

Add the package to your composer.json

```
"require": {
    ...
    "johnturingan/route-mobile-laravel-notifications": "{version}"
},

```

Or just run composer require

```
$ composer require johnturingan/route-mobile-laravel-notifications
```

Config 📄
--------

[](#config-page_facing_up)

To use this plugin, you need to add the following configuration to your config/services.php file

```
'route-mobile-notifications' => [
    'host' => 'https://apis.rmlconnect.net',
    'gateway' => \Snp\Notifications\Rml\Services\RouteMobileGateway::class,
    'username' => 'username',
    'password' => 'password',
    'cache' => false // Set to true if you want to cache login response
]

```

Usage ✅
-------

[](#usage-white_check_mark)

For full documentation, please refer to [Laravel Notification Docs](https://laravel.com/docs/9.x/notifications)

### Sending Notification

[](#sending-notification)

To send notification you can use the Laravel Notification Facade and pass the viber mobile number as the first parameter

```
public function send ()
{
    Notification::send('639057654321', new LeadAddedNotification());
    Notification::send(['639067654321', '639077654321'], new LeadAddedNotification());
}

```

### Formatting Viber Notification

[](#formatting-viber-notification)

If a notification supports being sent as a Routemobile Viber message, you should define a toRMLViber method on the notification class. This method will receive a $notifiable entity and should return an Snp\\Notifications\\Rml\\Messages\\ViberMessage instance. Let's take a look at a basic toRMLViber example:

```
use Snp\Notifications\Rml\Constants\MessagingMethod;
use Snp\Notifications\Rml\Constants\MessagingType;
use Snp\Notifications\Rml\Messages\ViberMessage;
...

/**
 * Get the Viber representation of the notification.
 *
 * @param  mixed  $notifiable
 * @return Snp\Notifications\Rml\Messages\ViberMessage
 */
public function toRMLViber($notifiable)
{
    return (new ViberMessage('This is a viber message from Laravel'))
            ->setRecipient($recipient)
            ->setType(MessagingType::SINGLE_TEXT)
            ->setMethod(MessagingMethod::ONE_WAY)
            ;
}

```

---

**`NOTE:`**

If you find any bugs or you have some ideas in mind that would make this better. Please don't hesitate to create a pull request.

If you find this package helpful, a simple star is very much appreciated.

---

**[MIT](LICENSE) LICENSE**
copyright © 2022 Scripts and Pixels.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~38 days

Total

4

Last Release

1420d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12132261?v=4)[John Turingan](/maintainers/redgreenyellow)[@redgreenyellow](https://github.com/redgreenyellow)

---

Top Contributors

[![johnturingan](https://avatars.githubusercontent.com/u/9390421?v=4)](https://github.com/johnturingan "johnturingan (5 commits)")

---

Tags

laravelnotificationsslackroute mobile

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/johnturingan-route-mobile-laravel-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/johnturingan-route-mobile-laravel-notifications/health.svg)](https://phpackages.com/packages/johnturingan-route-mobile-laravel-notifications)
```

###  Alternatives

[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89475.5M159](/packages/laravel-slack-notification-channel)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[beyondcode/slack-notification-channel

Slack Notification Channel for Laravel using API tokens.

85531.5k](/packages/beyondcode-slack-notification-channel)[awssat/discord-notification-channel

Discord Notification Channel for laravel.

94131.9k](/packages/awssat-discord-notification-channel)[salamwaddah/laravel-mandrill-driver

Mandrill notification channel for Laravel 9, 10, 11, 12, 13

1177.4k](/packages/salamwaddah-laravel-mandrill-driver)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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