giggsey/libphonenumber-for-php-lite
A lightweight PHP library for parsing, formatting, storing, and validating international phone numbers, based on Google's libphonenumber. This lite version includes core phone number utilities and requires PHP 8.1+ with mbstring.
Google has bumped libphonenumber to v9 for Java compatibility reasons. We've taken this opportunity to make some improvements to this library.
Most projects can upgrade safely without requiring any code changes.
PhoneNumberType is now an enum instead of a class with constants.from() to load the corresponding enum.How can I help you explore Laravel packages today?