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

ActiveLibrary

lookberry/laravel-smsglobal-notifications-channel
=================================================

SmsGlobal notification channel for Laravel 10, 11, 12

1.2.0(4mo ago)0138MITPHPPHP ^8.2

Since Oct 30Pushed 4mo agoCompare

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

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

40

—

FairBetter than 88% of packages

Maintenance74

Regular maintenance activity

Popularity10

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

148d 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/lookberry-laravel-smsglobal-notifications-channel/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89069.7M111](/packages/laravel-slack-notification-channel)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[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/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[tzsk/sms

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

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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