beastbytes / phone-number-helper
Helper methods for phone numbers
v1.0.1
2023-06-26 12:40 UTC
Requires
- php: ^8.0
Requires (Dev)
- beastbytes/n6l-phone-number-data-php: dev-master
- consolidation/robo: ^4.0
- phpunit/phpunit: ^10.0
- roave/infection-static-analysis-plugin: ^1.0
- roave/security-advisories: dev-latest
- vimeo/psalm: ^5.0
This package is auto-updated.
Last update: 2024-04-26 15:07:08 UTC
README
Static helper methods for phone numbers:
- Format national phone numbers to the country's national numbering plan
- Convert ITU-T Recommendation E.123 format numbers to EPP format
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/phone-number-helper
or add
"beastbytes/phone-number-helper": "^1.0.0"
to the require section of your composer.json.
A n6lPhoneNumberDataInterface implementation is also required, e.g. beastbytes/n6l-phone-number-data-php