SkillAgentSearch skills...

Iban

PHP IBAN validation library

Install / Use

/learn @cmpayments/Iban
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

IBAN

Build Status Scrutinizer Software License Total Downloads

cmpayments/iban is a PHP 5.5+ library for validating IBAN bank account numbers.

It currently supports IBAN validation of 99 countries

Installation

To install cmpayments/iban just require it with composer

composer require cmpayments/iban

Usage example

<?php
require 'vendor/autoload.php';

use CMPayments\IBAN;

$iban = new IBAN('NL58ABNA0000000001');

// validate the IBAN
if (!$iban->validate($error)) {
    echo "IBAN is not valid, error: " . $error;
}

// pretty print IBAN
echo $iban->format();

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub

Copyright and license

The cmpayment/iban library is copyright © Bas Peters and licensed for use under the MIT License (MIT). Please see LICENSE for more information.

Related Skills

View on GitHub
GitHub Stars31
CategoryDevelopment
Updated6mo ago
Forks11

Languages

PHP

Security Score

82/100

Audited on Sep 30, 2025

No findings