PHP code example of reyesoft / bank-accounts
1. Go to this page and download the library: Download reyesoft/bank-accounts 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/ */
reyesoft / bank-accounts example snippets
use BankAccounts\Ar\ArBankAccount;
use BankAccounts\Mx\MxBankAccount;
$mx_bank = new MxBankAccount('072580010312850172');
$mx_bank->isValid(); // true
echo $mx_bank->getBankName(); // Banorte
echo $mx_bank->testGetInternalBankAccountNumber(); // 1031285017
echo $mx_bank->getAccountTile(); // CLABE
echo (new ArBankAccount('pablorsk.mp'))
->getAccountTile(); // Alias
echo (new ArBankAccount('0720321188000033530000'))
->getAccountTile(); // CBU/CVU