PHP code example of bee-delivery / bank-account-validator

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

    

bee-delivery / bank-account-validator example snippets




    use BeeDelivery\BankAccountValidator\BankAccount;
    
    // ..

    $params = (object) array(
        'bankNumber' => $this->bank,
        'agencyNumber' => $this->agency_number,
        'agencyCheckNumber' => $this->agency_check_number,
        'accountNumber' => $this->account_number,
        'accountCheckNumber' => $this->account_check_number,
        'ignoreAgencyCheckNumber' => true, // or false
        'ignoreTypeCEFAccount' => true // or false
    );

    $data = BankAccount::validate($params);

    // ..