webklex/iban

PHP IBAN helper

1.0.0 2023-02-28 18:28 UTC

This package is auto-updated.

Last update: 2024-11-28 22:20:56 UTC


README

Latest release on Packagist Latest prerelease on Packagist Software License Total Downloads Hits

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.