Bug#1005829: ITP: php-giggsey-libphonenumber -- PHP Port of Google's libphonenumber
Package: wnpp
Severity: wishlist
Owner: Fab Stz <fabstz-it@yahoo.fr>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : php-giggsey-libphonenumber
Version : 8.12.43
Upstream Author : Joshua Gigg <giggsey@gmail.com>
* URL : https://github.com/giggsey/libphonenumber-for-php/
* License : Apache-2.0
Programming Lang: PHP
Description : PHP Port of Google's libphonenumber
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.
Widely used package on packagist:
https://packagist.org/packages/giggsey/libphonenumber-for-php
Needed by some php project, for example kalkun that I package but is not yet
ready to enter debian IMO.
Ideally it would integrate the php/pear team like the other composer
packages.
Sponsor needed.
Reply to: