PHPackages                             laravel-notification-channels/sms-broadcast - 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. laravel-notification-channels/sms-broadcast

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

laravel-notification-channels/sms-broadcast
===========================================

SMS Broadcast Notification Channel

1.0.5(2y ago)219.0k2[1 issues](https://github.com/laravel-notification-channels/sms-broadcast/issues)MITPHPPHP &gt;=7.2CI failing

Since Sep 12Pushed 2y ago3 watchersCompare

[ Source](https://github.com/laravel-notification-channels/sms-broadcast)[ Packagist](https://packagist.org/packages/laravel-notification-channels/sms-broadcast)[ Docs](http://laravel-notification-channels.com/)[ RSS](/packages/laravel-notification-channels-sms-broadcast/feed)WikiDiscussions master Synced yesterday

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

Sms Broadcast Notification Channel
==================================

[](#sms-broadcast-notification-channel)

 [ ![Build status](https://camo.githubusercontent.com/2e58783ff5a2b4d679c55c91fd00679251492d3a13714095dbfa9d80a3981577/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d732d62726f6164636173742e7376673f6272616e63683d6d6173746572) ](https://travis-ci.org/laravel-notification-channels/sms-broadcast) [ ![Downloads](https://camo.githubusercontent.com/286588e0476efa0b603d8cd1864409a7f07a18e5ab1a3a02490472427510a64d/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d732d62726f6164636173742f646f776e6c6f616473) ](https://packagist.org/packages/laravel-notification-channels/sms-broadcast) [ ![Latest release](https://camo.githubusercontent.com/9df385c4bcf4901991b5ff1bb5b4a6e00104ebebe1e86cf8b5eafe40c50295ff/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d732d62726f6164636173742f762f737461626c65) ](https://packagist.org/packages/laravel-notification-channels/sms-broadcast) [ ![Code coverage](https://camo.githubusercontent.com/1de6ec6b544d2543d4a43a89379aed0c95c06f33d51d4f978d04eea59289aab1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d732d62726f6164636173742f6261646765732f636f7665726167652e706e673f623d6d6173746572) ](https://scrutinizer-ci.com/g/laravel-notification-channels/sms-broadcast/) [ ![License](https://camo.githubusercontent.com/5bdaee3fab44c00616db9e6fa573b756235de0bfccbbd2db529cb712bf06b7b1/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d732d62726f6164636173742f6c6963656e7365) ](LICENSE.md)

This package makes it easy to send notifications using [Sms Broadcast](https://www.smsbroadcast.com.au/) with Laravel &gt; 5.6 &amp; 6.0.

It uses my [Sms Broadcast PHP package](https://github.com/atymic/sms-broadcast-php) under the hood.

Contents
--------

[](#contents)

- [Installation](#installation)
    - \[Setting up the Sms Broadcast service\](#setting-up-the-Sms Broadcast-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

Install the package using composer

```
composer require laravel-notification-channels/sms-broadcast
```

Add the configuration to your `services.php` config file:

```
'smsbroadcast' => [
    'username' => env('SMS_BROADCAST_USERNAME'),
    'password' => env('SMS_BROADCAST_PASSWORD'),
    'default_sender' => env('SMS_BROADCAST_DEFAULT_SENDER', null),
]
```

Usage
-----

[](#usage)

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

```
use Illuminate\Notifications\Notification;
use NotificationChannels\SmsBroadcast\SmsBroadcastMessage;
use NotificationChannels\SmsBroadcast\SmsBroadcastChannel;

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

    public function toSmsbroadcast($notifiable)
    {
        return (new SmsBroadcastMessage)
            ->content("Task #{$notifiable->id} is complete!");
    }
}
```

In your notifiable model, make sure to include a `routeNotificationForSmsbroadcast()` method, which returns an australian phone number.

```
public function routeNotificationForSmsbroadcast()
{
    return $this->phone; // 0412345678 or 6142345678
}
```

### Available methods

[](#available-methods)

`sender()`: Sets the sender's name or phone number.

`content()`: Set a content of the notification message.

`delay()`: Set a delay, in minutes before sending the message

`reference()`: Set the SMS ref code

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [atymic](https://github.com/atymic)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

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

Total

5

Last Release

846d ago

PHP version history (2 changes)1.0.1PHP &gt;=7.2

1.0.3PHP &gt;=7.2.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20937037?v=4)[Laravel Notification Channels](/maintainers/laravel-notification-channels)[@laravel-notification-channels](https://github.com/laravel-notification-channels)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-notification-channels-sms-broadcast/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-notification-channels-sms-broadcast/health.svg)](https://phpackages.com/packages/laravel-notification-channels-sms-broadcast)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/webpush

Web Push Notifications driver for Laravel.

7984.5M16](/packages/laravel-notification-channels-webpush)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[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/twilio

Provides Twilio notification channel for Laravel

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

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)

PHPackages © 2026

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