glutnix/nz-bank-account-validation 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

glutnix/nz-bank-account-validation

最新稳定版本:0.1.1

Composer 安装命令:

composer require glutnix/nz-bank-account-validation

包简介

A library that validates New Zealand bank account numbers (BECS numbers) as matching the format, within valid ranges, and contain a valid checksum.

README 文档

README

Latest Stable Version Latest Unstable Version Total Downloads License Build Status

A PHP library that validates New Zealand bank account numbers (BECS numbers) as matching the format, within valid ranges, and contain a valid checksum.

Licence

MIT

Requirements

  • PHP 5.4+

Installation

Using Composer:

composer require glutnix/nz-bank-account-validation

Alternatively, download the contents of this repository into your project and require the class manually, like a caveman.

Usage

$account = new \Glutnix\BankAccountValidator("01-902-0068389-00");
echo $account->isValid() ? "Valid" : "Not Valid";

There are other usable methods on BankAccountValidator, so check the code: check the spec for how they are used. Maybe contribute some documentation?

Contributing

Open an issue to check if your contribution is desirable, or just go right ahead and send a Pull Request against the master branch.

  • Code must be PSR-2 compliant; PHP Code Sniffer and editorconfig settings are included for your convenience.
  • Passing PHPSpec tests required to cover any new code.

TODO

  • Full-featured Documentation
  • Optionally use PaymentsNZ Bank Branch Register to validate against currently open banks and branches.

References

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-19