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(1y ago)03[2 PRs](https://github.com/bundana/LaravelNotify/pulls)MITPHPPHP ^8.2CI passing

Since Jun 13Pushed 8mo 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 today

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

28

—

LowBetter than 52% of packages

Maintenance54

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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

387d 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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[illuminate/http

The Illuminate Http package.

11937.9M7.0k](/packages/illuminate-http)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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