PHPackages                             timothydake/nigeriabulksms-sdk - 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. [API Development](/categories/api)
4. /
5. timothydake/nigeriabulksms-sdk

ActiveLibrary[API Development](/categories/api)

timothydake/nigeriabulksms-sdk
==============================

A production-grade PHP SDK for NigeriaBulkSMS API. Provides SMS sending, voice calls, audio uploads, and data fetching functionality with Laravel integration.

v1.0.1(10mo ago)02MITPHPPHP &gt;=7.4

Since Jul 12Pushed 10mo agoCompare

[ Source](https://github.com/spaco67/nigeriabulksms-sdk)[ Packagist](https://packagist.org/packages/timothydake/nigeriabulksms-sdk)[ Docs](https://github.com/timothydake/nigeriabulksms-sdk)[ RSS](/packages/timothydake-nigeriabulksms-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

NigeriaBulkSMS PHP SDK
======================

[](#nigeriabulksms-php-sdk)

A production-grade PHP SDK for the [NigeriaBulkSMS.com](https://nigeriabulksms.com/) API. This SDK provides a simple, robust, and type-safe way to integrate bulk SMS, voice messaging, and data fetching functionalities into your PHP and Laravel applications.

Features
--------

[](#features)

- 🚀 **Easy to use** - Simple and intuitive API
- 🛡️ **Robust error handling** - Comprehensive error types and validation
- 📱 **SMS &amp; Voice** - Support for text messages, voice calls, and TTS
- 📊 **Data fetching** - Access to account balance, history, and more
- 📦 **Laravel Support** - Seamless integration with Laravel applications

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

[](#installation)

This SDK can be installed via Composer.

```
composer require your-vendor-name/nigeriabulksms-sdk
```

Replace `your-vendor-name` with your desired vendor name when publishing the package.

Basic Usage (PHP)
-----------------

[](#basic-usage-php)

First, initialize the `NigeriaBulkSMS` client with your username and password.

```

```

Laravel Integration
-------------------

[](#laravel-integration)

### 1. Publish the Configuration File

[](#1-publish-the-configuration-file)

After installing the package, publish the configuration file using the artisan command:

```
php artisan vendor:publish --provider="NigeriaBulkSMS\\Laravel\\NigeriaBulkSMSServiceProvider"
```

This will create a `nigeriabulksms.php` file in your `config` directory. You can then set your API credentials in your `.env` file:

```
NIGERIABULKSMS_USERNAME=your_username
NIGERIABULKSMS_PASSWORD=your_password

```

### 2. Usage in Laravel

[](#2-usage-in-laravel)

You can use the `NigeriaBulkSMS` facade or inject the `NigeriaBulkSMS` class directly.

#### Using the Facade

[](#using-the-facade)

```

```

Common error codes are:

- `100`: Incomplete request parameters
- `101`: Request denied
- `110`: Login status failed
- `111`: Login status denied
- `150`: Insufficient funds
- `191`: Internal error

For a full list of error codes, refer to the [official NigeriaBulkSMS API documentation](https://nigeriabulksms.com/sms-gateway-api-in-nigeria/).

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

[](#contributing)

Feel free to contribute to this SDK by submitting issues or pull requests on GitHub.

License
-------

[](#license)

This SDK is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

---

**Author:** Timothy Dake

- **LinkedIn:**
- **X (formerly Twitter):** [@timothydake](https://twitter.com/timothydake)
- **Email:**

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance55

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

302d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78d1fe3155cae95736576b4b7d269d19d63df616a04de17284a2e51aef8eadbb?d=identicon)[spaco67](/maintainers/spaco67)

---

Top Contributors

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

---

Tags

apilaravelsdksmsNigeriabulk-smsvoice callsttsnigeriabulksmsnigerian-bulk-smsnigerian-bulk-sms-apinigerian-bulk-sms-sdknigerian-bulk-sms-laravelnigerian-bulk-sms-laravel-sdknigerian-bulk-sms-laravel-api

### Embed Badge

![Health badge](/badges/timothydake-nigeriabulksms-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/timothydake-nigeriabulksms-sdk/health.svg)](https://phpackages.com/packages/timothydake-nigeriabulksms-sdk)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[plivo/plivo-php

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1102.8M18](/packages/plivo-plivo-php)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[multicaret/laravel-unifonic

 A library to integrate with Unifonic API to send SMS

25182.9k2](/packages/multicaret-laravel-unifonic)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[leapfu/cloud-printer

高扩展性云小票打印SDK，支持飞鹅云、芯烨云、易联云、快递100、映美云、佳博云、中午云、优声云等主流云打印服务，兼容 Laravel、ThinkPHP 等主流框架，统一API，易集成，易扩展。

104.5k](/packages/leapfu-cloud-printer)

PHPackages © 2026

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