webklex/iban

PHP IBAN helper

Fund package maintenance!
Ko Fi
www.buymeacoffee.com/webklex

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/webklex/iban

1.0.0 2023-02-28 18:28 UTC

This package is auto-updated.

Last update: 2025-09-29 00:11:25 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.