Download the PHP package elliotsawyer/nzbanks without Composer
On this page you can find all versions of the php package elliotsawyer/nzbanks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elliotsawyer/nzbanks
More information about elliotsawyer/nzbanks
Files in elliotsawyer/nzbanks
Package nzbanks
Short Description Database of active New Zealand banks, maintained with a user task
License BSD-3-Clause
Homepage http://silverstripe.org
Informations about the package nzbanks
New Zealand Banks
SilverStripe module for managing a dataset of active New Zealand banks. This also maintains a DataObject of what represents a New Zealand bank account number, including validation of these numbers. It also contains utility functions for converting between dollars and cents.
Installation
- add the repository to your composer.json. This is a private repo, so composer will not find it on packagist
composer require elliotsawyer/nzbanks
- Run
vendor/bin/sake dev/build flush=
- Populate the database with bank branches:
vendor/bin/sake dev/tasks/download-bank-register-information flush=
. Do this on the CLI because it will likely exceed PHP's default execution time.
Configuration
Only the download URL can be changed. This is incredibly unlikely, but possible because PaymentsNZ has updated the URL more than once without notice.
Usage
Bank accounts are validated according to an IRD checksum format. More information on this validation can be found here: https://www.ird.govt.nz/-/media/Project/IR/PDF/2020RWTNRWTSpecificationDocumentv10.pdf (see page 15, "Bank account number validation")
Copyright
© 2019 Elliot Sawyer, CryptoPay Limited. All rights reserved.
Support
Like my work? Consider shouting me a coffee or a small donation if this module helped you solve a problem. I accept cryptocurrency at the following addresses:
- Bitcoin: 12gSxkqVNr9QMLQMMJdWemBaRRNPghmS3p
- Bitcoin Cash: 1QETPtssFRM981TGjVg74uUX8kShcA44ni
- Litecoin: LbyhaTESx3uQvwwd9So4sGSpi4tTJLKBdz
All versions of nzbanks with dependencies
guzzlehttp/guzzle Version ~6.0
neilnz/nzbankaccountvalidation Version ^0.1.0