PHP code example of olabodeabesin / nuban

1. Go to this page and download the library: Download olabodeabesin/nuban library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

olabodeabesin / nuban example snippets


composer 

use Olabodeabesin\Nuban\Http\Controllers\NubanController as Nuban;

    public function index()
    {
        $bankcode = 11111;
        $serial = 123456789;
        $nuban = new Nuban();
        $nuban = $nuban->generate($bankcode, $serial);
        dd($nuban);
    }