PHPackages                             wronx/php-isan-number-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. wronx/php-isan-number-validator

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

wronx/php-isan-number-validator
===============================

A simple PHP class to validate and format ISAN numbers

v0.9-RC(9y ago)01.6kWTFPLPHPPHP &gt;5.4

Since Nov 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/WRonX/PHPIsanNumberValidator)[ Packagist](https://packagist.org/packages/wronx/php-isan-number-validator)[ Docs](https://github.com/WRonX/PHPIsanNumberValidator)[ RSS](/packages/wronx-php-isan-number-validator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP ISAN Number Validator
-------------------------

[](#php-isan-number-validator)

This piece of poorly written code may help you with validating and formatting ISAN Number. Or may not. I don't know, I'm a plumber, not a fortune-teller.

#### License:

[](#license)

> Copyright © 2016 github.com/WRonX
> This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See  for more details.

#### Features:

[](#features)

- validating ISAN Number
- formatting ISAN Number
- ...
- PROFIT

#### Installation and configuration:

[](#installation-and-configuration)

`php composer.phar require wronx/php-isan-number-validator "dev-master"`

#### Usage

[](#usage)

Seriously...? OK, OK...

##### Validating ISAN Number

[](#validating-isan-number)

```
use WRonX\Utils\IsanNumberValidator;
// ...
$isanNumber = '0000000160aa0004W00000000f';
$isNumberValid = IsanNumberValidator::validate($isanNumber);
```

##### Formatting ISAN Number

[](#formatting-isan-number)

```
use WRonX\Utils\IsanNumberValidator;
// ...
$isanNumber = '0000000160aa0004W00000000f';
$formattedIsanNumber = IsanNumberValidator::format($isanNumber);
```

#### Summary

[](#summary)

Oh, come on, I spent enough time writing readme already...

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3450d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/555cc453c9565f372984ee4f53450d1e24738ecc142828c51716117db47ecac5?d=identicon)[WRonX](/maintainers/WRonX)

---

Top Contributors

[![WRonX](https://avatars.githubusercontent.com/u/2788306?v=4)](https://github.com/WRonX "WRonX (4 commits)")

---

Tags

phpvalidatorisan

### Embed Badge

![Health badge](/badges/wronx-php-isan-number-validator/health.svg)

```
[![Health](https://phpackages.com/badges/wronx-php-isan-number-validator/health.svg)](https://phpackages.com/packages/wronx-php-isan-number-validator)
```

###  Alternatives

[runz0rd/mapper-php

Model mapping, unmapping and validation

17451.9k2](/packages/runz0rd-mapper-php)

PHPackages © 2026

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