webklex / iban
PHP IBAN helper
Fund package maintenance!
Ko Fi
www.buymeacoffee.com/webklex
Requires
- php: ^8.0.2
- ext-bcmath: *
Requires (Dev)
- phpunit/phpunit: ^9.5.10
README
Description
This is a simple class to calculate the iban of a given account number, bank sort code and country code.
Table of Contents
Basic usage example
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();
Support
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.
Change log
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email github@webklex.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.