assoconnect / libphone-dom-tom
libphonenumber extension to support French DOM TOM numbers in international format.
Installs: 18 811
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.4
Requires (Dev)
- phpunit/phpunit: 5.2.*
This package is auto-updated.
Last update: 2024-11-07 13:17:03 UTC
README
PHP extension of https://github.com/googlei18n/libphonenumber to support French DOM-TOM numbers in international format.
Tries to fix https://github.com/googlei18n/libphonenumber/issues/274
How to use it
<?php
// phone number in Guadeloupe
echo AssoConnect\LibphoneDOMTOM::parse('+33590925585');
// => +590590925585
// phone number in Metropolitan France
echo AssoConnect\LibphoneDOMTOM::parse('+33123456789');
// => +33123456789