beastbytes / phone-number-helper
Helper methods for phone numbers
1.1.0
2024-10-02 21:43 UTC
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: 2024-10-26 16:23:15 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