Skip to content

george-oakling/bank-account-validator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Basic account number validation based on checksum for specific countries

Use make file for run test. make tests

Usage

Install with composer:

composer require heureka/bank-account-validator
<?php

require_once __DIR__ . '/vendor/autoload.php';

$validator = new BankAccountValidator\Czech();
$isValid = $validator->validate('333-123/0123');

Implemented Countries

First implemented country is Czech Republic

Czech validation part is based on law 169/2011 Sb. [1]
For validate correct bank code is used table from cnb.cz [2]

Links

[1] http://www.cnb.cz/cs/platebni_styk/ucty_kody_bank/download/kody_bank_CR.pdf
[2] http://www.cnb.cz/cs/platebni_styk/pravni_predpisy/download/vyhl_169_2011.pdf

License

GPL 2.1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.0%
  • Makefile 1.0%