Iban
PHP IBAN validation library
Install / Use
/learn @cmpayments/IbanREADME
IBAN
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
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
