PHPackages                             shengamo/zmsms - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. shengamo/zmsms

AbandonedLibrary[HTTP &amp; Networking](/categories/http)

shengamo/zmsms
==============

A Laravel package for integrating with an SMS gateway service in Zambia.

0.0.4(2y ago)010MITPHPPHP ^8.1|^8.3

Since Jun 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Shengamo/zmsms)[ Packagist](https://packagist.org/packages/shengamo/zmsms)[ Docs](https://github.com/shengamo/zmsms)[ RSS](/packages/shengamo-zmsms/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (4)Versions (6)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b9aa22e820074be681bfd060242f8a552b1d9a0e35cac74b0229f0fe9cb1959a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368656e67616d6f2f7a6d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shengamo/zmsms)[![Total Downloads](https://camo.githubusercontent.com/663955cc8a61099a19e84a7a5dd0a7e7f09f0f44669eaef69ce6ee4cde86e7df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368656e67616d6f2f7a6d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shengamo/zmsms)[![GitHub Actions](https://github.com/shengamo/zmsms/actions/workflows/main.yml/badge.svg)](https://github.com/shengamo/zmsms/actions/workflows/main.yml/badge.svg)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

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

[](#installation)

You can install the package via composer:

```
composer require shengamo/zmsms
```

Usage
-----

[](#usage)

The process of the plugin is first to check if you have enough balance to send out the number of SMS's you would like to send out. If you have enough, the messages will be sent but if you do not have enough remaining you will receive a response of "Insufficient balance".

### Configuration

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --provider="Shengamo\Zmsms\ZmsmsServiceProvider"
```

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

```
ZMSMS_GATEWAY_BASE_URL=https://zmsms.online/api/v1/
ZMSMS_GATEWAY_USERNAME=your_user_name
ZMSMS_GATEWAY_PASSWORD=password
```

### Sending SMS

[](#sending-sms)

Example usage on how to send SMS from your app

```
use Shengamo\Zmsms\Facades\Zmsms;

Zmsms::sendSMS('senderId', 'Message', ['zambia_mobile number e.g. 0760123456']);
```

Ensure your sender ID is already registered on zmSMS or the package will return an error.

```
use Shengamo\Zmsms\Facades\Zmsms;

Zmsms::sendSMS('Shengamo', 'Hello from Zmsms!', ['0971977252', '0776639088']);
```

### Checking Balance

[](#checking-balance)

```
use Shengamo\Zmsms\Facades\Zmsms;

// Example usage to check SMS balance
$balance = Zmsms::getBalance();
echo "Current SMS balance: " . $balance['response_description'];
```

### Testing

[](#testing)

```
vendor/bin/phpunit
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Mo Malenga](https://github.com/shengamo)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

4

Last Release

740d ago

PHP version history (2 changes)0.0.1PHP ^8.0|^8.3

0.0.2PHP ^8.1|^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8626673?v=4)[Mo Malenga](/maintainers/momalenga)[@momalenga](https://github.com/momalenga)

---

Top Contributors

[![momalenga](https://avatars.githubusercontent.com/u/8626673?v=4)](https://github.com/momalenga "momalenga (11 commits)")

---

Tags

shengamozmsms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shengamo-zmsms/health.svg)

```
[![Health](https://phpackages.com/badges/shengamo-zmsms/health.svg)](https://phpackages.com/packages/shengamo-zmsms)
```

###  Alternatives

[mateusjunges/laravel-kafka

A kafka driver for laravel

7253.6M20](/packages/mateusjunges-laravel-kafka)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)

PHPackages © 2026

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