beastbytes / phone-number-helper
Helper methods for phone numbers
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/beastbytes/phone-number-helper
Requires
- php: ^8.0
- beastbytes/n6l-phone-number-data: ^2.0
Requires (Dev)
- beastbytes/n6l-phone-number-data-php: ^2.0
- 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: 2025-10-08 17:40:09 UTC
README
Static helper methods for phone numbers:
- Format national phone numbers to the country's national numbering plan
- Convert national numbers to EPP format
- 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"
to the 'require' section of your composer.json.
A n6lPhoneNumberDataInterface implementation is also required, e.g. beastbytes/n6l-phone-number-data-php