PHPackages                             maximof/laravel-messager - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. maximof/laravel-messager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

maximof/laravel-messager
========================

:package\_description

1.1.2(5y ago)08MITPHP

Since Oct 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/maximof/laravel-messager)[ Packagist](https://packagist.org/packages/maximof/laravel-messager)[ Docs](https://github.com/maximof/laravel-messager)[ RSS](/packages/maximof-laravel-messager/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Laravel Messager
================

[](#laravel-messager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1d215314ea0b959db5196c2e16d00d5d50565502cc6488353b9114fd454d6829/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6178696d6f662f6c61726176656c2d6d657373616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/maximof/laravel-messager)[![Total Downloads](https://camo.githubusercontent.com/bae203be37be05484f4394040ffac86579427ca75fe657135dc4558beae67d59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6178696d6f662f6c61726176656c2d6d657373616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/maximof/laravel-messager)[![Build Status](https://camo.githubusercontent.com/29499ccbfc51d9e322c5d75b1d6c3412e8b0b7d057dc3a153126679a620de057/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d6178696d6f662f6c61726176656c2d6d657373616765722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/maximof/laravel-messager)

This is a wrapper for a few sms service providers in Nigeria. This package is meant just for laravel so feel free to install in your app to extend its capablilities. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require maximof/laravel-messager
```

Usage
-----

[](#usage)

This is a fairly easy package to implement. This package works strictly on Laravel 7 and upwards. As Laravel implements package autodiscovery from Laravel 5+ you do not need to add the provider to Laravel's provider array. Publish the config file by running

```
$ php artisan vendor:publish --provider="Maximof\LaravelMessager\LaravelMessagerServiceProvider"
```

After you have published the config file, set your environmental variables.

VariableDescriptionSMS\_SENDERset the sms senderBULK\_SMS\_NIGERIA\_TOKENset the bulk sms Nigeria api tokenSMART\_SMS\_SOLUTIONS\_TOKENset the smart sms solutions api tokenTo generate an API token, for Smart sms solutions visit this [link](https://smartsmssolutions.com/sms/api-x-tokens), you can do this only after registering on their site [here](https://smartsmssolutions.com/register).

To generate an API for Bulk sms Nigeria visit this [link](https://smartsmssolutions.com/register). Remember also to register [here](https://smartsmssolutions.com)

Only two service providers have been implemented in this package

Service ProviderDescriptionSmartsmssolutions APIthis is the API for [www.smartsmssolutions.com](http://www.smartsmssolutions.com). To get an api token head to [Smart Sms Solutions](https://www.smartsmssolutions.com) to get oneBulksmsnigeria APIthis is the API for [www.bulksmsnigeria.com](http://www.bulksmsnigeria.com). To understand how the process works on their end head over to [Bulk Sms Nigeria](www.bulksmsnigeria.com)To send messages you can just pull in the class in your code like this

```
$sms  = new BulkSmsNigeria();

$sms->to(08105612094)->from("Maximof")->body("Hello!");

//this will return a true value if the message is successfully sent or will throw an exception if an error occurs
```

To check your sms units balance

```
$sms = new SmartSmsSolution();
$sms->balance();
//this returns a string containing the sms units balance
//this only works for the SmartSmsSolutions class as the BulkSmsNigeria class api has no balance checking endpoint
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Favour Max-Oti](https://github.com/maximof)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

2083d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/112246423?v=4)[maximof](/maintainers/maximof)[@Maximof](https://github.com/Maximof)

---

Top Contributors

[![kellslte](https://avatars.githubusercontent.com/u/29720486?v=4)](https://github.com/kellslte "kellslte (5 commits)")

---

Tags

laravelLaravelMessager

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maximof-laravel-messager/health.svg)

```
[![Health](https://phpackages.com/badges/maximof-laravel-messager/health.svg)](https://phpackages.com/packages/maximof-laravel-messager)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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