bespin/datavalidation-iban
最新稳定版本:v1.0.5
Composer 安装命令:
composer require bespin/datavalidation-iban
包简介
Library for IBAN verification and other IBAN helpers
README 文档
README
This is a collection of methods to verify and format IBAN
How to use
Verify
This command will verify the IBAN
\Bespin\DataValidation\Iban::verify('DE12 3456 7890 0000 9999 88');
Format
Human readable
This will format a IBAN to a string with whitespace
\Bespin\DataValidation\Iban::format('DE12345678900000999988', \Bespin\DataValidation\Format::human);
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
TBD, in the meantime check the countries directory
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
https://www.swift.com/standards/data-standards/iban-international-bank-account-number
统计信息
- 总下载量: 259
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MPL-2.0
- 更新时间: 2024-09-25