PHPackages                             webklex/iban - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. webklex/iban

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

webklex/iban
============

PHP IBAN helper

1.0.0(3y ago)311MITPHPPHP ^8.0.2

Since Feb 28Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Webklex/iban)[ Packagist](https://packagist.org/packages/webklex/iban)[ Docs](https://github.com/webklex/iban)[ Fund](https://www.buymeacoffee.com/webklex)[ Fund](https://ko-fi.com/webklex)[ RSS](/packages/webklex-iban/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

IBAN Library for PHP
====================

[](#iban-library-for-php)

[![Latest release on Packagist](https://camo.githubusercontent.com/d6726355ceaf9d25af1b9947a51ad73363197f148c7bed7f930c7181906db344/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f5765626b6c65782f6962616e2e7376673f7374796c653d666c61742d737175617265266c6162656c3d76657273696f6e)](https://packagist.org/packages/Webklex/iban)[![Latest prerelease on Packagist](https://camo.githubusercontent.com/0d547337d3c3eb74f082d56a4ae7c9fcda460bad77bf636c86bc2be4c6966d5e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7765626b6c65782f6962616e3f696e636c7564655f70726572656c6561736573267374796c653d666c61742d737175617265266c6162656c3d7072652d72656c65617365)](https://packagist.org/packages/Webklex/iban)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Webklex/iban/blob/master/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/888284302b52cda72b848c0be0de354184e2f26994664a9c5dca00579944329e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f5765626b6c65782f6962616e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Webklex/iban)[![Hits](https://camo.githubusercontent.com/ed6fe13666f5989c60d99e7aaa0589482c1425242ccb1cd37a1717321b465a64/68747470733a2f2f686974732e7765626b6c65782e636f6d2f7376672f7765626b6c65782f6962616e)](https://hits.webklex.com)

Description
-----------

[](#description)

This is a simple class to calculate the iban of a given account number, bank sort code and country code.

Table of Contents
-----------------

[](#table-of-contents)

- [Basic usage example](#basic-usage-example)
- [Support](#support)
- [Features &amp; pull requests](#features--pull-requests)
- [Security](#security)
- [Credits](#credits)
- [License](#license)

Basic usage example
-------------------

[](#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
-------

[](#support)

If you encounter any problems or if you find a bug, please don't hesitate to create a new [issue](https://github.com/Webklex/iban/issues). 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 .

Change log
----------

[](#change-log)

Please see [CHANGELOG](https://github.com/Webklex/iban/blob/master/CHANGELOG.md) for more information what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Webklex](https://github.com/webklex)
- [All Contributors](https://github.com/Webklex/iban/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/Webklex/iban/blob/master/LICENSE) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1222d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2884144?v=4)[webklex](/maintainers/webklex)[@Webklex](https://github.com/Webklex)

---

Top Contributors

[![Webklex](https://avatars.githubusercontent.com/u/2884144?v=4)](https://github.com/Webklex "Webklex (3 commits)")

---

Tags

webklexIBAN

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webklex-iban/health.svg)

```
[![Health](https://phpackages.com/badges/webklex-iban/health.svg)](https://phpackages.com/packages/webklex-iban)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
