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. maximof/laravel-messager

ActiveLibrary

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 1mo ago

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 32% 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

2031d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97c1252b3ab64fd11437b9ca09846b351577917537171056289dfbfd21c40a50?d=identicon)[maximof](/maintainers/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

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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