PHPackages                             bundana/laravel-sms-notify - 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. bundana/laravel-sms-notify

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

bundana/laravel-sms-notify
==========================

A flexible and powerful SMS notification package for Laravel applications

1.0.0-beta.6(11mo ago)03[2 PRs](https://github.com/bundana/LaravelNotify/pulls)MITPHPPHP ^8.2CI passing

Since Jun 13Pushed 7mo agoCompare

[ Source](https://github.com/bundana/LaravelNotify)[ Packagist](https://packagist.org/packages/bundana/laravel-sms-notify)[ GitHub Sponsors](https://github.com/bundana)[ RSS](/packages/bundana-laravel-sms-notify/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (9)Used By (0)

Laravel SMS Notify
==================

[](#laravel-sms-notify)

A fluent API for sending SMS via multiple providers in Laravel. This package supports Mnotify, Hubtel, and Nalo SMS providers.

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

[](#installation)

You can install the package via composer:

```
composer require Bundana/laravel-sms-notify
```

After installing the package, publish the configuration file:

```
php artisan vendor:publish --provider="Bundana\LaravelSmsNotify\SmsServiceProvider" --tag="config"
```

Configuration
-------------

[](#configuration)

Add the following environment variables to your `.env` file:

```
SMS_PROVIDER=mnotify

# Mnotify Configuration
MNOTIFY_API_KEY=your_api_key
MNOTIFY_SENDER_ID=your_sender_id
MNOTIFY_BASE_URL=https://api.mnotify.com/api/

# Hubtel Configuration
HUBTEL_CLIENT_ID=your_client_id
HUBTEL_CLIENT_SECRET=your_client_secret
HUBTEL_SENDER_ID=your_sender_id
HUBTEL_BASE_URL=https://smsc.hubtel.com/v1/

# Nalo Configuration
NALO_API_KEY=your_api_key
NALO_SENDER_ID=your_sender_id
NALO_BASE_URL=https://sms.nalosolutions.com/api/
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
use Bundana\LaravelSmsNotify\Facades\Sms;

// Send an immediate SMS
Sms::to('+233201234567')
    ->message('Hello from Laravel!')
    ->send();

// Send with a specific provider
Sms::to('+233201234567')
    ->provider('hubtel')
    ->message('Hello from Laravel!')
    ->from('SCEF')
    ->send();
```

### Queued SMS

[](#queued-sms)

```
// Queue an SMS for later processing
Sms::to('+233201234567')
    ->message('This will be queued')
    ->queue()
    ->send();
```

### Scheduled SMS

[](#scheduled-sms)

```
// Schedule an SMS for future delivery
Sms::to('+233201234567')
    ->message('This will be sent in 5 minutes')
    ->queue()
    ->schedule(now()->addMinutes(5))
    ->send();
```

Available Methods
-----------------

[](#available-methods)

- `to(string $number)`: Set the recipient's phone number
- `message(string $message)`: Set the message content
- `from(string $sender)`: Set the sender's name or number
- `provider(string $provider)`: Set the SMS provider (mnotify, hubtel, nalo)
- `queue()`: Mark the message for queuing
- `schedule(\DateTimeInterface $time)`: Schedule the message for future delivery
- `send()`: Send the message

Testing
-------

[](#testing)

```
composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

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

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance59

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~0 days

Total

5

Last Release

334d ago

PHP version history (2 changes)1.0.0-beta.1PHP ^8.1

1.0.0-beta.3PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a68134c8fdae947839a2b668eafb24ac78a2045af5b2632d3ff88008c47d169?d=identicon)[bundana](/maintainers/bundana)

---

Top Contributors

[![bundana](https://avatars.githubusercontent.com/u/65686807?v=4)](https://github.com/bundana "bundana (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/bundana-laravel-sms-notify/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[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/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[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)
