PHPackages                             naucon/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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. naucon/iban

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

naucon/iban
===========

This package parses and validates International Bank Account Number (IBAN).

1.0(9y ago)821.8k↓12.5%21MITPHPPHP &gt;=5.3.0

Since Sep 25Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (1)

naucon Iban Package
===================

[](#naucon-iban-package)

version 1.0

About
-----

[](#about)

This package parses and validates International Bank Account Number (IBAN).

### Features

[](#features)

- validate IBAN
- extract BBAN
- extract check digit
- extract country code
- extract bank code
- extract bank account

### Compatibility

[](#compatibility)

- PHP5.3

Installation
------------

[](#installation)

install the latest version via composer

```
composer require naucon/iban

```

Usage
-----

[](#usage)

```
use Naucon\Iban\Iban;
$type = new Iban('DE68210501700012345678');

echo 'IBAN';
echo $type->getIban(); // DE68210501700012345678
echo '';
echo $type->getBban(); // 210501700012345678
echo '';
echo $type->getCountryCode(); // DE
echo '';
echo $type->getCountryName(); // Germany
echo '';
echo $type->getBankcode();  // 21050170
echo '';
echo $type->getAccount();   // 0012345678
echo '';
echo $type->getCheckDigits(); // 68
echo '';

if ($type->isValid()) {
    echo 'IBAN is Valid';
    echo '';
}

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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

3523d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1342e3921a59ade40b08d9db1ad9ef0b47ff8ed86714aad2894f9f2ada270ee?d=identicon)[naucon](/maintainers/naucon)

---

Top Contributors

[![naucon](https://avatars.githubusercontent.com/u/1407477?v=4)](https://github.com/naucon "naucon (5 commits)")[![Quix0r](https://avatars.githubusercontent.com/u/470798?v=4)](https://github.com/Quix0r "Quix0r (1 commits)")

---

Tags

validationvalidateparsesepaswiftIBANBBANchecksum

### Embed Badge

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

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

###  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)[wixel/gump

A fast, extensible &amp; stand-alone PHP input validation class that allows you to validate any data.

1.2k1.3M30](/packages/wixel-gump)[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)[jschaedl/iban-validation

A small library for validating International BankAccount Numbers (IBANs).

1022.8M16](/packages/jschaedl-iban-validation)[inhere/php-validate

generic data validate, filter library of the php

26787.4k13](/packages/inhere-php-validate)

PHPackages © 2026

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