PHP code example of glutnix / nz-bank-account-validation

1. Go to this page and download the library: Download glutnix/nz-bank-account-validation 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/ */

    

glutnix / nz-bank-account-validation example snippets


$account = new \Glutnix\BankAccountValidator("01-902-0068389-00");
echo $account->isValid() ? "Valid" : "Not Valid";