respect-validation/docs/BankAccount.md
2015-08-20 01:38:41 -03:00

443 B

BankAccount

  • v::bankAccount(string $countryCode, string $bank)

Validates a bank account for a given bank.

v::bankAccount("de", "70169464")->validate("1112"); //true
v::bankAccount("de", "70169464")->validate("1234"); //false

These country codes are supported:

  • "de" (Germany) - You must add "malkusch/bav": "~1.0" to your require property on composer.json file.

See also: