承接 neilnz/nzbankaccountvalidation 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

neilnz/nzbankaccountvalidation

最新稳定版本:v0.1

Composer 安装命令:

composer require neilnz/nzbankaccountvalidation

包简介

A library to validate the checksums of New Zealand bank account numbers

README 文档

README

This is a simple library for validating input of New Zealand bank account numbers. It is based on the documentation provided by the Inland Revenue Department: http://www.ird.govt.nz/resources/5/0/502c0d02-4a12-493a-8d6d-cf0560071c7d/payroll-spec-2016-v1+2.pdf

This library is not however affiliated with or endorsed by the IRD.

Quick start

<?php

$accountNumber = '12-3140-0171323-50';
list($bank, $branch, $account, $suffix) = explode('-', $accountNumber);

var_dump(NeilNZ\NZBankAccountValidation\Validator::validate($bank, $branch, $account, $suffix));

Installing

Install using Composer with:

composer.phar require neilnz/nzbankaccountvalidation

Support

Raise a Github ticket if you find something wrong with this: https://github.com/nbertram/nz_bank_account_validation_php/issues

Pull requests also gratefully considered.

Tests

There are tests in PHPUnit format. Travis is running on master.

Build Status

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-07-27