This is a simple class to calculate the iban of a given account number, bank sort code and country code.
This is a basic example, which will echo out a calculated iban:
use Webklex\IBAN\IBAN;
require_once "vendor/autoload.php";
$account_number = "123456789";
$bank_sort_code = "10000000";
$country_code = "de";
$iban = IBAN::make($account_number, $bank_sort_code, $country_code);
echo $iban->calculate();If you encounter any problems or if you find a bug, please don't hesitate to create a new issue. However, please be aware that it might take some time to get an answer. Off-topic, rude or abusive issues will be deleted without any notice.
If you need commercial support, feel free to send me a mail at github@webklex.com.
Please see CHANGELOG for more information what has changed recently.
If you discover any security related issues, please email github@webklex.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.