beastbytes/n6l-phone-number-data-php

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

2.0.2 2024-10-02 21:21 UTC

This package is auto-updated.

Last update: 2024-12-02 21:35:36 UTC


README

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

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

For license information see the LICENSE file.

Installation

The preferred way to install this extension is through composer.

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

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:

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

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

./vendor/bin/psalm