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

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

beerntea/iban
=============

IBAN utility library

1.2.1(2y ago)01.4kMITPHPPHP &gt;=8.0

Since Mar 18Pushed 2y agoCompare

[ Source](https://github.com/beerntea/iban)[ Packagist](https://packagist.org/packages/beerntea/iban)[ Docs](http://github.com/beerntea/iban)[ RSS](/packages/beerntea-iban/feed)WikiDiscussions master Synced 2d ago

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

IBAN
====

[](#iban)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

beerntea/iban is a PHP 8.0+ library for validating IBAN bank account numbers. It currently supports IBAN validation of 99 countries.

It's based on [cmpayments/iban](https://github.com/cmpayments/iban/), which seems abandoned. Added support for php &gt; 8.0, updated dependencies and unit tests.

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

[](#installation)

To install beerntea/iban just require it with composer

```
composer require beerntea/iban

```

Usage example
-------------

[](#usage-example)

```
