New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

solomon-ochepa/nuban

You can use it to get the account name of any bank account in Nigeria
1,108 1
Install
composer require solomon-ochepa/nuban
Latest Version:2.0.0
PHP:^8.0
License:MIT
Last Updated:Jan 7, 2025
Links: GitHub  ·  Packagist
Maintainer: solomon-ochepa

Nigeria-Bank-Account-Number-API Laravel Package

You can use it to get the account name of any bank account in Nigeria

  • Lifetime Access. Unlimited Account Lookups

  • Enter account number and get the name and bank

  • Enter account number and bank code to get the account name

install via composer

composer require solomon-ochepa/nuban

Application Service Providers...

 SolomonOchepa\Nuban\NubanServiceProvider::class

Publish the config file

php artisan vendor:publish --provider="SolomonOchepa\Nuban\NubanServiceProvider" --tag="config"

Default config file contents

<?php

return [
    // The Host of the API.
    'host' => env('NUB_API_HOST', 'https://nubapi.com/api'),

    /**
     * Your API Token from (https://nubapi.com/user/api-tokens)
     *
     */
    'api_token' => env('NUB_API_TOKEN', ''),

     'options' => [
            // Validate number on your server without making an APi request.
            'validate_number_locally' => true,

             //This timeout applies to client connections and determine when
             //The whole response must be read before it exceeded
             'request_timeout' => 5,
        ]
];

API Usage

Sign up for a developer account by selecting the Sign Up button. After signing up, access your account dashboard.

You can follow these steps to obtain your API key and configure it in your application:

  1. Go to the API Create Access Tokens page.

  2. Generate your unique API key.

  3. Once you have your API key, insert it into either your .env file or the configuration file.

In your app controller

use SolomonOchepa\Nuban\Nuban;

$nuban = new Nuban;
$response = $nuban->account('1234567890', '0123');

print_r($response);

Response JSON

{
    "account_number": "0080******",
    "account_name": "Jane Doe",
    "first_name": "Jane",
    "last_name": "Doe",
    "Bank_name": "ACCESS BANK PLC",
    "bank_code": "044",
    "requests": "Free",
    "status": "success"
}

For support and inquiry Whatsapp Me https://twitter.com/don_ejeh

A wrap and Special thank to https://github.com/olakunlevpn/Nigeria-Bank-Account-Number-API

Its very legal & safe

Security

Our API is highly secure and our system do not store any bank record

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

655,942,320 9,702
laravel/framework

The Laravel Framework.

617,629,957 34,997
laravel/tinker

Powerful REPL for the Laravel framework.

524,145,802 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

442,489,569 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

418,503,470 4,663

Version History

Version Released License
2.0.0 MIT
1.0.1 MIT
1.0.0 MIT