PHP code example of jcobhams / ngbanks
1. Go to this page and download the library: Download jcobhams/ngbanks 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/ */
jcobhams / ngbanks example snippets
use jcobhams\NgBanks\NgBanks;
.
.
.
$this->ngbanks = new NgBanks();
//Get All Banks
$this->ngbanks->getBanks();
//Get Access Bank
$this->ngbanks->getBank('044');
//Add New Bank
$this->ngbanks->addBank('Cobhams Savings and Loans', '007', 'CSL', '*007#')