php-giggsey-libphonenumber

PHP Port of Google's libphonenumber

Description

A PHP library for parsing, formatting, storing and validating international phone numbers. This library is based on Google's libphonenumber.

Highlights of functionality:
 - Parsing/formatting/validating phone numbers for all countries/regions of
   the world.
 - getNumberType - gets the type of the number based on the number itself;
   able to distinguish Fixed-line, Mobile, Toll-free, Premium Rate, Shared
   Cost, VoIP and Personal Numbers (whenever feasible).
 - isNumberMatch - gets a confidence level on whether two numbers could be
   the same.
 - getExampleNumber/getExampleNumberByType - provides valid example numbers
   for all countries/regions, with the option of specifying which type of
   example phone number is needed.
 - isValidNumber - full validation of a phone number for a region using
   length and prefix information.
 - PhoneNumberOfflineGeocoder - provides geographical information related to
   a phone number.
 - PhoneNumberToTimeZonesMapper - provides timezone information related to a
   phone number.
 - PhoneNumberToCarrierMapper - provides carrier information related to a
   phone number.

This package also provides the 'update-php-giggsey-libphonenumber' script that permits to update the metadata of php-giggsey-libphonenumber to the latest upstream version.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/giggsey/libphonenumber-for-php


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install php-giggsey-libphonenumber