定制 beerntea/iban 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

beerntea/iban

最新稳定版本:1.2.1

Composer 安装命令:

composer require beerntea/iban

包简介

IBAN utility library

README 文档

README

License: 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, which seems abandoned. Added support for php > 8.0, updated dependencies and unit tests.

Installation

To install beerntea/iban just require it with composer

composer require beerntea/iban

Usage example

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

use Beerntea\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 edits in the beerntea/iban library is copyright © Beerntea and licensed for use under the MIT License (MIT). The cmpayment/iban library is copyright © Bas Peters and licensed for use under the MIT License (MIT). Please see [LICENSE][] for more information.

统计信息

  • 总下载量: 579
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-18