Skip to content

Installation

phil/phone
RequirementVersionWhy
PHP8.5 or laterThe floor the library declares and is tested on
ext-mbstringanyparse() measures the text it reads, and an error shows it
ext-domanyReading libphonenumber's XML: the importer only, but Composer requires it with the library
ext-ctypeanyChecking the digits of the metadata, in the importer
composer require phil/phone

The numbering plans ship with the library, in data/: nothing is downloaded at run time.