PHPackages                             bmatzner/iban-generator - 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. bmatzner/iban-generator

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

bmatzner/iban-generator
=======================

Generates IBAN code from bank code and bank account number

1.0.0(9y ago)044.4k↓50%1MITPHPPHP &gt;=5.3.0

Since Nov 15Pushed 6y agoCompare

[ Source](https://github.com/bmatzner/iban-generator)[ Packagist](https://packagist.org/packages/bmatzner/iban-generator)[ RSS](/packages/bmatzner-iban-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

IBAN Generator
==============

[](#iban-generator)

[![Build Status](https://camo.githubusercontent.com/9fb3c1b2ba3582eb4baf067fa760d3a48dee0243e40a837c87e5b2c2951a9337/68747470733a2f2f7472617669732d63692e6f72672f626d61747a6e65722f6962616e2d67656e657261746f722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/bmatzner/iban-generator)

With this class you can generate simply a IBAN from Bankcode, Bank Account Number and locale.

Currently only for Germany...

Further description for other languages

Work in progress

Example
-------

[](#example)

```
$IBANGenerator = new IbanGenerator\Generator($bankCode, $bankAccountNr, $locale);
$IBANGenerator->generate();

```

Check
-----

[](#check)

To check if a IBAN correct use follow Project

```
http://code.google.com/p/php-iban/

```

Todo
----

[](#todo)

Use of Regex for check

```
([A-Z]{2})([0-9]{2})([0-9]{8})([0-9]{10}) // Example for Germany DE581234567812345678910

```

BSD License
-----------

[](#bsd-license)

Copyright (c) 2015

MLabs Development and Design (Mewes Hans-Peter). All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- All advertising materials mentioning features or use of this software must display the following acknowledgement: “This product includes software developed by MLabs Development and Design (Mewes Hans-Peter) and its contributors.”
- Neither the name of MLabs Development and Design (Mewes Hans-Peter) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY MLabs Development and Design (Mewes Hans-Peter) “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

3462d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/665fad4e0c685309ed3a1f9a1ff98ecd3f4bf331f13bf3ff8061ed68f57321b7?d=identicon)[bmatzner](/maintainers/bmatzner)

---

Top Contributors

[![hpmewes](https://avatars.githubusercontent.com/u/1370892?v=4)](https://github.com/hpmewes "hpmewes (1 commits)")

---

Tags

sepaswiftIBANBICBBAN

### Embed Badge

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

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

###  Alternatives

[ronanguilloux/isocodes

PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Book and Music Industries, Phone numbers &amp; Zipcodes for many countries

8013.3M23](/packages/ronanguilloux-isocodes)[intervention/validation

Additional validation rules for the Laravel framework

6826.7M8](/packages/intervention-validation)[abcaeffchen/sepa-utilities

SepaUtilities provides useful methods for validating and sanitizing inputs used in SEPA files supporting PHP &gt;= 8.1.

312.0M2](/packages/abcaeffchen-sepa-utilities)

PHPackages © 2026

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