PHPackages                             ossycodes/nigeriabulksms - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ossycodes/nigeriabulksms

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

ossycodes/nigeriabulksms
========================

This package makes it easy to send notifications via Nigeriabulksms with Laravel

v2.2.0(2y ago)91.3k1MITPHPPHP &gt;=7.2.5

Since Aug 14Pushed 2y agoCompare

[ Source](https://github.com/ossycodes/nigeriabulksms)[ Packagist](https://packagist.org/packages/ossycodes/nigeriabulksms)[ Docs](https://github.com/laravel-notification-channels/:package_name)[ RSS](/packages/ossycodes-nigeriabulksms/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (6)Used By (0)

Nigeriabulksms notification channel for Laravel
===============================================

[](#nigeriabulksms-notification-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/27c929bc74bda486a12f549fc9e96fbf37ddbf61582aad257b8dd3660ce6ce11/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f737379636f6465732f6e69676572696162756c6b736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ossycodes/nigeriabulksms)[![Total Downloads](https://camo.githubusercontent.com/07a52331158d211632d7d11a0c3b7844219c3ab240a2df18fb2180855eb471c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f737379636f6465732f6e69676572696162756c6b736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ossycodes/nigeriabulksms)

This package makes it easy to send notifications using Nigeriabulksms with Laravel 5 and above

Contents
--------

[](#contents)

- [About](#about)
- [Installation](#installation)
- [Setting up the Nigeriabulksms service](#setting-up-the-nigeriabulksms-service)
- [Usage](#usage)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

About
-----

[](#about)

This package makes it possible to send out Laravel notifications as a `SMS ` using Nigeriabulksms API.

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

[](#installation)

You can install this package via composer:

```
composer require ossycodes/nigeriabulksms
```

The service provider gets loaded automatically.

### Setting up the Nigeriabulksms service

[](#setting-up-the-nigeriabulksms-service)

You will need to [Register](https://nigeriabulksms.com) to get your `username and password`. Place them inside your `.env` file. Remember to add your Sender ID that you will be using to send the messages.

```
NIGERIABULKSMS_USERNAME=""
NIGERIABULKSMS_PASSWORD=""
NIGERIABULKSMS_SENDER=""
```

To load them, add this to your `config/services.php` . This will load the Nigeriabulksms data from the `.env` file.file:

```
'nigeriabulksms' => [
    'username'      => env('NIGERIABULKSMS_USERNAME'),
    'password'      => env('NIGERIABULKSMS_PASSWORD'),
    'sender'        => env('NIGERIABULKSMS_SENDER'),
]
```

Add the `routeNotifcationForNigeriabulksms` method on your notifiable Model.

```
