assoconnect/libphone-dom-tom

libphonenumber extension to support French DOM TOM numbers in international format.

Installs: 10 062

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

v1.0.2 2017-09-29 14:49 UTC

This package is auto-updated.

Last update: 2021-04-22 22:51: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