PHPackages                             ifunk/abn-validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. ifunk/abn-validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

ifunk/abn-validator
===================

ABN and ACN validation for PHP

v1.0.1(7y ago)256.6k↓46.4%1MITPHP

Since Apr 21Pushed 7y ago2 watchersCompare

[ Source](https://github.com/adamroyle/abn-validator)[ Packagist](https://packagist.org/packages/ifunk/abn-validator)[ RSS](/packages/ifunk-abn-validator/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

ABN and ACN validation for PHP
==============================

[](#abn-and-acn-validation-for-php)

By [Paul Ferrett](http://www.paulferrett.com)

Installation
------------

[](#installation)

```
composer require ifunk/abn-validator

```

Usage
-----

[](#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
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1137 days

Total

2

Last Release

2587d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30913?v=4)[Adam Royle](/maintainers/ifunk)[@ifunk](https://github.com/ifunk)

---

Top Contributors

[![adamroyle](https://avatars.githubusercontent.com/u/25002779?v=4)](https://github.com/adamroyle "adamroyle (7 commits)")[![ThomWilhelm](https://avatars.githubusercontent.com/u/391904?v=4)](https://github.com/ThomWilhelm "ThomWilhelm (1 commits)")

### Embed Badge

![Health badge](/badges/ifunk-abn-validator/health.svg)

```
[![Health](https://phpackages.com/badges/ifunk-abn-validator/health.svg)](https://phpackages.com/packages/ifunk-abn-validator)
```

###  Alternatives

[marcosh/php-validation-dsl

A DSL for validating data in a functional fashion

483.9k](/packages/marcosh-php-validation-dsl)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
