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(11mo ago)02MITPHPPHP &gt;=7.4

Since Jul 12Pushed 11mo 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 today

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

25

—

LowBetter than 35% of packages

Maintenance50

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

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

358d 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.7k9.5M89](/packages/openai-php-laravel)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[plivo/plivo-php

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

1143.1M19](/packages/plivo-plivo-php)[plivo/php-sdk

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

1112.0M6](/packages/plivo-php-sdk)[resend/resend-php

Resend PHP library.

617.2M43](/packages/resend-resend-php)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

74331.3k1](/packages/mozex-anthropic-laravel)

PHPackages © 2026

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