2017 © Pedro Peláez
 

library nzbankaccountvalidation

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

image

neilnz/nzbankaccountvalidation

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

  • Friday, July 21, 2017
  • by neilnz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,178 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

NZ Bank Account Validation

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, (*1)

This library is not however affiliated with or endorsed by the IRD., (*2)

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:, (*3)

bash composer.phar require neilnz/nzbankaccountvalidation, (*4)

Support

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

Pull requests also gratefully considered., (*6)

Tests

There are tests in PHPUnit format. Travis is running on master., (*7)

Build Status, (*8)

The Versions

21/07 2017

dev-master

9999999-dev

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

  Sources   Download

GPL-3.0+

The Requires

  • php >5.3.0

 

The Development Requires

validation new zealand bank account nz

27/07 2015

v0.1

0.1.0.0

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

  Sources   Download

GPL-3.0+

The Requires

  • php >5.3.0

 

The Development Requires

validation new zealand bank account nz