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

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

keenops/laravel-sms
===================

This package makes easy user of beem.africa API to send sms from laravel applications.

v2.0.1(1y ago)23091MITPHP

Since May 14Pushed 1y ago2 watchersCompare

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

READMEChangelog (6)DependenciesVersions (7)Used By (0)

Beem.africa SMS package for Laravel
===================================

[](#beemafrica-sms-package-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8f2de1fe128bcc99f6e5d761919c737a02423b4debde9d92f2405c870deec06d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b65656e6f70732f6c61726176656c2d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/keenops/laravel-sms)[![Total Downloads](https://camo.githubusercontent.com/ad2086bb5084512887a87c4f680062f80405d9aa8f99376527e7de7cd1a862a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b65656e6f70732f6c61726176656c2d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/keenops/laravel-sms)

This package makes it easy to send messages using Beem.africa with Laravel.It is basicly a wrapper around their API.

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

[](#installation)

You can install the package via composer:

```
composer require keenops/laravel-sms
```

After installation, publish the configuration files by running the command:

```
php artisan vendor:publish --tag=laravel-beem-sms
```

Usage
-----

[](#usage)

Add beem.africa API credentials. Can be obtained [here](https://beem.africa/beem-api/)

```
    BEEM_API_KEY=
    BEEM_API_SECRET=
    BEEM_SENDER_NAME=
```

### Sending SMS

[](#sending-sms)

In your controller use like this

```
namespace App\Http\Controllers;

use Keenops\Sms\Facades\Sms;

class SMSController extends Controller
{
    public function index()
    {
        $message = "Hello Word"; //String

        $recipients = ['255701000001', '255701000002', '25570100003']; //array

        return Sms::send($message, $recipients);
        //returns a json value with sent status

    }
}
```

### Checking SMS Balance

[](#checking-sms-balance)

In your controller use like this

```
namespace App\Http\Controllers;

use Keenops\Sms\Facades\Sms;

class SMSController extends Controller
{
    public function index()
    {

        return Sms::viewBalance();
        //returns Integer value of the remaining balance E.g 210
    }
}
```

### List sender names

[](#list-sender-names)

In your controller use like this

```
namespace App\Http\Controllers;

use Keenops\Sms\Facades\Sms;

class SMSController extends Controller
{
    public function index()
    {

        return Sms::senderNames();
        //returns json list of registered sender name E.g 210
    }
}
```

### Request a new sender name

[](#request-a-new-sender-name)

In your controller use like this

```
namespace App\Http\Controllers;

use Keenops\Sms\Facades\Sms;

class SMSController extends Controller
{
    public function index()
    {

        return Sms::requestNewSenderName('API TEST','This is test api for new sender name using laravel beem package');
        //return json value of the new requested sender name

    }
}
```

### Errors

[](#errors)

Specific error codes may be displayed within parenthesis when send or receive operations fail. The most common of these error codes are specified on beem.africa [API Documetation](https://docs.beem.africa/#api-_)

### 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)

- [Kimwalu](https://kimwalu.com)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance46

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

Recently: every ~354 days

Total

6

Last Release

414d ago

Major Versions

0.0.3 → v1.0.02022-08-26

v1.0.0 → v2.0.02022-08-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/979e7b5ad115c575c452f36f2316011ad49f9bb01cf45c5eb68d069af01ed64e?d=identicon)[kimwalu](/maintainers/kimwalu)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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