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.5(11mo ago)0293MPL-2.0PHPCI passing

Since Sep 24Pushed 11mo 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 1mo ago

READMEChangelog (6)Dependencies (2)Versions (7)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

31

—

LowBetter than 68% of packages

Maintenance51

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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 ~49 days

Recently: every ~61 days

Total

6

Last Release

347d 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

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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