2017 © Pedro Peláez
 

library 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.

image

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.

  • Thursday, November 19, 2015
  • by Glutnix
  • Repository
  • 1 Watchers
  • 9 Stars
  • 8,242 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

NZ Bank Account Validation for PHP

Latest Stable Version Latest Unstable Version Total Downloads License Build Status, (*1)

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

Licence

MIT, (*3)

Requirements

  • PHP 5.4+

Installation

Using Composer:, (*4)

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

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

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

TODO

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

References

The Versions

19/11 2015

dev-master

9999999-dev

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

  Sources   Download

MIT

The Development Requires

validation finance bank new zealand bank account becs

19/11 2015

0.1.1

0.1.1.0

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

  Sources   Download

MIT

The Development Requires

validation finance bank new zealand bank account becs