PHPackages                             ayles-software/laravel-sms-mobile-message - 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. ayles-software/laravel-sms-mobile-message

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

ayles-software/laravel-sms-mobile-message
=========================================

MobileMessage Notifications channel for Laravel 12

1.0.0(2mo ago)0164MITPHPPHP ^8.3

Since Sep 16Pushed 2mo agoCompare

[ Source](https://github.com/ayles-software/laravel-sms-mobile-message)[ Packagist](https://packagist.org/packages/ayles-software/laravel-sms-mobile-message)[ Docs](https://github.com/ayles-software/laravel-sms-mobile-message)[ RSS](/packages/ayles-software-laravel-sms-mobile-message/feed)WikiDiscussions main Synced 1mo ago

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

MobileMessage sms notifications channel for Laravel 12
======================================================

[](#mobilemessage-sms-notifications-channel-for-laravel-12)

This package makes it easy to send notifications using [MobileMessage](https://mobilemessage.com.au/) with Laravel 12.

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

[](#installation)

Install the package via composer:

```
composer require ayles-software/laravel-sms-mobile-message
```

Add your MobileMessage api key, secret and optional default sender sms\_from to your `config/services.php`:

```
'mobile_message' => [
    'key' => env('MOBILE_MESSAGE_KEY'),
    'secret'  => env('MOBILE_MESSAGE_SECRET'),
    'from' => env('MOBILE_MESSAGE_FROM'),
],
```

Usage
-----

[](#usage)

Use MobileMessageChannel in `via()` method inside your notification classes. Example:

```
namespace App\Notifications;

use Illuminate\Notifications\Notification;
use AylesSoftware\MobileMessage\MobileMessageChannel;
use AylesSoftware\MobileMessage\MobileMessageMessage;

class SmsTest extends Notification
{
    public function __construct(public string $token)
    {
    }

    public function via($notifiable)
    {
        return [MobileMessageChannel::class];
    }

    public function toMobileMessage($notifiable)
    {
        return (new MobileMessageMessage)
            ->message("SMS test to user #{$notifiable->id} with token {$this->token} by MobileMessage")
            ->from('Dory');
    }
}
```

In notifiable model (User), include method `routeNotificationForMobileMessage()` that returns recipient mobile number:

```
public function routeNotificationForMobileMessage()
{
    return $this->phone;
}
```

Then send a notification the standard way:

```
$user = User::find(1);

$user->notify(new SmsTest);
```

Events
------

[](#events)

Following events are triggered by Notification. By default:

- Illuminate\\Notifications\\Events\\NotificationSending
- Illuminate\\Notifications\\Events\\NotificationSent

NotificationFailed will trigger if something goes wrong

- Illuminate\\Notifications\\Events\\NotificationFailed

Testing
-------

[](#testing)

Nope

License
-------

[](#license)

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

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance86

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Total

4

Last Release

74d ago

Major Versions

0.2.0 → 1.0.02026-02-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/44064852e6895bec4fa6330fd0d6d2b3a1b2d8b3466f12ef717a2bf94c8fdfe0?d=identicon)[parkourben99](/maintainers/parkourben99)

---

Top Contributors

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

---

Tags

laravelnotificationssmsmobile-message

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ayles-software-laravel-sms-mobile-message/health.svg)

```
[![Health](https://phpackages.com/badges/ayles-software-laravel-sms-mobile-message/health.svg)](https://phpackages.com/packages/ayles-software-laravel-sms-mobile-message)
```

###  Alternatives

[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[ghanem/laravel-smsmisr

Send SMS and SMS Notification via SMS Misr for Laravel

194.8k](/packages/ghanem-laravel-smsmisr)

PHPackages © 2026

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