2017 © Pedro Peláez
 

library bpay-ref-generator

Generate BPAY customer reference numbers

image

fontis/bpay-ref-generator

Generate BPAY customer reference numbers

  • Tuesday, November 14, 2017
  • by fontis
  • Repository
  • 6 Watchers
  • 0 Stars
  • 1,819 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 40 % Grown

The README.md

Fontis BPAY Customer Ref Generator

This package provides a convenient way of generating customer reference numbers for BPAY. There are functions to calculate reference numbers based on both the MOD 10 Version 1 and MOD 10 Version 5 algorithms., (*1)

The recommended way to install this package is using Composer. If you don't already have Composer installed, you can install it using the instructions mentioned on the Composer documentation. Once you have composer installed, just install it like so:, (*2)

composer require fontis/bpay-ref-generator 1.0.*

Using this package is very simple. Instantiate an instance of the Generator class like so:, (*3)

use Fontis\BpayRefGenerator\Generator;

$generator = new Generator();

Then call the appropriate method based on which algorithm you want to use. For MOD 10 Version 1:, (*4)

$ref = $generator->calcMod10V1("10000456");
// 100004563

For MOD 10 Version 5:, (*5)

$ref = $generator->calcMod10V5("40007923");
// 400079231

The Versions

14/11 2017

dev-master

9999999-dev

Generate BPAY customer reference numbers

  Sources   Download

OSL-3.0

The Requires

  • php >=7.0

 

The Development Requires

14/11 2017

2.0.0

2.0.0.0

Generate BPAY customer reference numbers

  Sources   Download

OSL-3.0

The Requires

  • php >=7.0

 

The Development Requires

22/01 2016

1.0.0

1.0.0.0

Generate BPAY customer reference numbers

  Sources   Download

OSL-3.0

The Requires

  • php ~5.6.0|~7.0.0