2017 © Pedro Peláez
 

library abn-validator

ABN and ACN validation for PHP

image

ifunk/abn-validator

ABN and ACN validation for PHP

  • Tuesday, September 20, 2016
  • by ifunk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 297 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

ABN and ACN validation for PHP

By Paul Ferrett, (*1)

Installation

composer require ifunk/abn-validator

Usage

AbnValidator::isValidAbn('53 004 085 616'); // -> true
AbnValidator::isValidAbn('0'); // -> false
AbnValidator::isValidAcn('005 749 986'); // -> true
AbnValidator::isValidAcn('53 004 085 616'); // -> false  (that's an ABN!)
AbnValidator::isValidAbnOrAcn('53 004 085 616'); // -> true
AbnValidator::isValidAbnOrAcn('005 749 986'); // -> true
AbnValidator::isValidAbnOrAcn('0'); // -> false

The Versions

20/09 2016

dev-master

9999999-dev

ABN and ACN validation for PHP

  Sources   Download

MIT

by Adam Royle
by Paul Ferrett

21/04 2016

v1.0.0

1.0.0.0

ABN and ACN validation for PHP

  Sources   Download

MIT

by Adam Royle
by Paul Ferrett