Library, that generates check digits and composes IBAN number by ISO/IEC 7064:2003
Use the package manager Yarn to install foobar. Or simply include package manually.
yarn add https://github.com/raisty/php-iban-check-digit#master
include('php-iban-check-digit/iban.php');
$iban = ibanCheckDigit('CH0004835012345678009');
result
CH5604835012345678009
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.