libphonenumber for PHP
PHP library for parsing, formatting, storing and validating international phone numbers, a port of Google's libphonenumber.
giggsey.com/libphonenumber/repositorydocs
libphonenumber for PHP parses, formats, stores and validates international phone numbers. It is a PHP port of Google’s libphonenumber and uses phone number metadata from Google’s project.
Worth knowing
The library tries to follow Google’s version numbers rather than semantic versioning, so a jump in the major number may carry no backward-incompatible change. It requires the PECL mbstring extension.
Identity
- Status
- Active
- Maintainer
- Joshua Gigg3
- Maintained by
- Individual
- First release
- 20135
Rendering and deploy
- Install with
- composer4
Releases
Adoption
Sources
- 2026-11-16: links
giggsey.com/libphonenumber/ - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/giggsey/libphonenumber-for-php - 2026-11-16: Maintainer, Minimum runtime, License
github.com/giggsey/libphonenumber-for-php/blob/9.0.43/composer.json - 2026-11-16: links, Categories, Runtime, Install with
github.com/giggsey/libphonenumber-for-php/blob/master/README.md - 2026-11-16: First release
repo.packagist.org/p2/giggsey/libphonenumber-for-php.json - 2026-11-16: Current major version, Last release
api.github.com/repos/giggsey/libphonenumber-for-php/releases/latest - 2026-11-16: Contributors
api.github.com/repos/giggsey/libphonenumber-for-php/contributors?per_page=1 - 2026-11-16: Packagist downloads
packagist.org/packages/giggsey/libphonenumber-for-php.json - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/giggsey%2Flibphonenumber-for-php