PHPackages                             beastbytes/n6l-phone-number-data-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. beastbytes/n6l-phone-number-data-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

beastbytes/n6l-phone-number-data-php
====================================

Implementation of n6l-phone-number-data to retrieve national phone number data from PHP storage

2.0.2(1y ago)0192BSD-3-ClausePHPPHP ^8.0

Since Jun 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/beastbytes/n6l-phone-number-data-php)[ Packagist](https://packagist.org/packages/beastbytes/n6l-phone-number-data-php)[ RSS](/packages/beastbytes-n6l-phone-number-data-php/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (7)Versions (7)Used By (2)

N6l Phone Number Data PHP (n6l-phone-number-data-php)
=====================================================

[](#n6l-phone-number-data-php-n6l-phone-number-data-php)

Implementation of n6l-phone-number-data to retrieve national phone number formatting data from PHP storage.

n6l-phone-number-data implementations are used by:

- [phone-number-validator](https://github.com/beastbytes/phone-number-validator) to validate national phone numbers
- [phone-number-helper](https://github.com/beastbytes/phone-number-helper) to convert national phone numbers to [Extensible Provisioning Protocol (EPP) format](https://www.rfc-editor.org/rfc/rfc4933.html#section-2.5)

For license information see the [LICENSE](LICENSE.md) file.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist beastbytes/n6l-phone-number-data-php

```

or add

```
"beastbytes/n6l-phone-number-data-php": "^2.0"
```

to the 'require' section of your composer.json.

Unit testing
------------

[](#unit-testing)

The package is tested with [PHPUnit](https://phpunit.de/). To run tests:

```
./vendor/bin/phpunit
```

Mutation testing
----------------

[](#mutation-testing)

The package tests are checked with [Infection](https://infection.github.io/) mutation framework with [Infection Static Analysis Plugin](https://github.com/Roave/infection-static-analysis-plugin). To run it:

```
./vendor/bin/roave-infection-static-analysis-plugin
```

Static analysis
---------------

[](#static-analysis)

The code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis:

```
./vendor/bin/psalm
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

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

Every ~95 days

Recently: every ~116 days

Total

6

Last Release

638d ago

Major Versions

v1.0.2 → 2.0.02024-10-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0b5133b5137b26eeb25056449c28364ac0af31836eefba78912a9c8f0743aa3?d=identicon)[BeastBytes](/maintainers/BeastBytes)

---

Top Contributors

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

---

Tags

dataitu-t0202phone-numberphpyii3national numbering plannational phone number

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/beastbytes-n6l-phone-number-data-php/health.svg)

```
[![Health](https://phpackages.com/badges/beastbytes-n6l-phone-number-data-php/health.svg)](https://phpackages.com/packages/beastbytes-n6l-phone-number-data-php)
```

PHPackages © 2026

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