PHPackages                             ahasha-dev/laravel-smsglobal-notifications-channel - 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. ahasha-dev/laravel-smsglobal-notifications-channel

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

ahasha-dev/laravel-smsglobal-notifications-channel
==================================================

SmsGlobal notification channel for Laravel 10, 11, 12

1.2.0(3mo ago)0221MITPHPPHP ^8.2

Since Oct 30Pushed 3mo agoCompare

[ Source](https://github.com/lookberry/laravel-smsglobal-notifications-channel)[ Packagist](https://packagist.org/packages/ahasha-dev/laravel-smsglobal-notifications-channel)[ RSS](/packages/ahasha-dev-laravel-smsglobal-notifications-channel/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (5)Used By (0)

Use this package to send SMS with [SmsGlobal](https://www.smsglobal.com/) in `Laravel 10`, `Laravel 11`, and `Laravel 12`.

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

[](#installation)

```
composer require lookberry/laravel-smsglobal-notifications-channel

```

Configure
---------

[](#configure)

In your `services.php` config file add the following configs.

```
    // ...

    'sms_global' => [
        'debug' => env('SMS_GLOBAL_DEBUG', true),
        'api_key' => env('SMS_GLOBAL_API_KEY'),
        'api_secret' => env('SMS_GLOBAL_API_SECRET'),
        'origin' => 'YourCompanyName',
    ],

```

Debug Mode
----------

[](#debug-mode)

Debug mode is turn on by default, which means SMS will not be actually sent, instead only a log record will be added to `/storage/logs/laravel.log`

In your `services.php` change the value of `sms_global.debug` to `false`

Usage
-----

[](#usage)

### Notification class

[](#notification-class)

Using Laravel [notification class](https://laravel.com/docs/11.x/notifications) add `SmsGlobalChannel::class` to `via()`method like so:

```
use Illuminate\Notifications\Notification;
use SalamWaddah\SmsGlobal\SmsGlobalChannel;
use SalamWaddah\SmsGlobal\SmsGlobalMessage;

class OrderPaid extends Notification
{

    public function via($notifiable): array
    {
        return [
            SmsGlobalChannel::class,
        ];
    }

    public function toSmsGlobal(): SmsGlobalMessage
    {
        $message = 'Order paid, Thank you for your business!';

        $smsGlobal = new SmsGlobalMessage();

        return $smsGlobal->content($message);
    }
}
```

### On demand notification

[](#on-demand-notification)

You can utilize Laravel on-demand notification facade to send SMS directly to a phone number without having to store a user in your application.

```
Notification::send(
    '+971555555555',
    new OrderPaid($order)
);
```

The notifiable argument in `toSmsGlobal` of your notification class should expect the same data type you passed to the `Notification` facade.

```
public function toSmsGlobal(): SmsGlobalMessage
{
    $message = 'Order paid, Thank you for your business!';

    $smsGlobal = new SmsGlobalMessage();

    return $smsGlobal->content($message);
}
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance82

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.1% 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 ~259 days

Total

4

Last Release

96d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.4

1.2.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/706615f8c791f7d39fa5119b09ff031e6a45bc7de0977f97b73bceefca68132e?d=identicon)[alright](/maintainers/alright)

---

Top Contributors

[![salamwaddah](https://avatars.githubusercontent.com/u/26627088?v=4)](https://github.com/salamwaddah "salamwaddah (19 commits)")[![alright](https://avatars.githubusercontent.com/u/154148?v=4)](https://github.com/alright "alright (7 commits)")

---

Tags

laravelsmsglobal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ahasha-dev-laravel-smsglobal-notifications-channel/health.svg)

```
[![Health](https://phpackages.com/badges/ahasha-dev-laravel-smsglobal-notifications-channel/health.svg)](https://phpackages.com/packages/ahasha-dev-laravel-smsglobal-notifications-channel)
```

###  Alternatives

[laravel-notification-channels/discord

Laravel notification driver for Discord.

2411.2M8](/packages/laravel-notification-channels-discord)[roomies/nexmo-voice-channel

Send Laravel notifications through a phone call

5313.8k](/packages/roomies-nexmo-voice-channel)[hooman-mirghasemi/laravel-iran-sms

Laravel Sms

241.8k](/packages/hooman-mirghasemi-laravel-iran-sms)

PHPackages © 2026

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