PHPackages                             bespin/datavalidation-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. bespin/datavalidation-iban

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

bespin/datavalidation-iban
==========================

Library for IBAN verification and other IBAN helpers

v1.0.6(2mo ago)0377MPL-2.0PHPCI passing

Since Sep 24Pushed 2mo agoCompare

[ Source](https://github.com/bespin-studios/datavalidation-iban)[ Packagist](https://packagist.org/packages/bespin/datavalidation-iban)[ RSS](/packages/bespin-datavalidation-iban/feed)WikiDiscussions main Synced yesterday

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

bespin/iban
===========

[](#bespiniban)

This is a collection of methods to verify and format IBAN

How to use
==========

[](#how-to-use)

Verify
------

[](#verify)

This command will verify the IBAN

```
\Bespin\DataValidation\Iban::verify('DE12 3456 7890 0000 9999 88');

```

Format
------

[](#format)

### Human readable

[](#human-readable)

This will format a IBAN to a string with whitespace

```
\Bespin\DataValidation\Iban::format('DE12345678900000999988', \Bespin\DataValidation\Format::human);

```

### Machine readable

[](#machine-readable)

This will format an IBAN to a string without any whitespace

```
\Bespin\DataValidation\Iban::format('DE12 3456 7890 0000 9999 88', \Bespin\DataValidation\Format::machine);

```

Supported Countries
===================

[](#supported-countries)

TBD, in the meantime check the countries directory

Developer Information
=====================

[](#developer-information)

the classes in the countries directory are generated by running Data\\generate.php and supplying a registry.txt which can be obtained at

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance83

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

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

Every ~93 days

Recently: every ~140 days

Total

7

Last Release

87d ago

### Community

Maintainers

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

---

Top Contributors

[![lahx](https://avatars.githubusercontent.com/u/65653464?v=4)](https://github.com/lahx "lahx (12 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (7 commits)")[![boenhoff](https://avatars.githubusercontent.com/u/28276430?v=4)](https://github.com/boenhoff "boenhoff (2 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[marcosh/php-validation-dsl

A DSL for validating data in a functional fashion

483.9k](/packages/marcosh-php-validation-dsl)

PHPackages © 2026

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