It would be nice if Phalcon can validate the International Bank Account Number (IBAN).
From what I found the base of an IBAN is validated by converting it into an integer and performing a basic mod-97 operation (as described in ISO 7064) on it. If the IBAN is valid, the remainder equals 1. Besides that I think you also need to parse the local information about the country and bank.
Maybe we could take a look at the Zf2 validator.
It would be nice if Phalcon can validate the International Bank Account Number (IBAN).
From what I found the base of an IBAN is validated by converting it into an integer and performing a basic mod-97 operation (as described in ISO 7064) on it. If the IBAN is valid, the remainder equals 1. Besides that I think you also need to parse the local information about the country and bank. Maybe we could take a look at the Zf2 validator.
https://github.com/zendframework/zf2/blob/master/library/Zend/Validator/Iban.php http://framework.zend.com/apidoc/2.0/classes/Zend.Validator.Iban.html