Skip to content

NationalPhoneNumerInterface implementation using PHP for storage

License

Notifications You must be signed in to change notification settings

beastbytes/n6l-phone-number-data-php

Repository files navigation

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:

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

About

NationalPhoneNumerInterface implementation using PHP for storage

Topics

Resources

Stars

Watchers

Forks