packagist giggsey/libphonenumber-for-php 8.0
on PHP Packagist

Non Google changes

  • Rename Tests to tests
  • Convert from PSR-0 to PSR-4
  • Remove deprecated ShortNumberUtil, use ShortNumberInfo instead
  • Support for PHP 7.1

Google v8.0 changes

Code changes:
  • Deleting deprecated methods in ShortNumberInfo that work on strings, instead
    of phone number objects. These have been marked deprecated for months. Any
    users of these methods should call PhoneNumberUtil::parse first to create a
    PhoneNumber object, and pass this in.
  • Support semicolon as extension character while parsing phone numbers.
Metadata changes:
  • Updated phone metadata for region code(s):
    AM, BD, BR, CI, ES, IN, KI, KR, LI, MC, MM, TZ
  • Updated short number metadata for region code(s): KI, MV, MY
  • New geocoding data for country calling code(s): 227 (en), 240 (en), 255 (en)
  • Updated geocoding data for country calling code(s): 95 (en), 686 (en)
  • New carrier data for country calling code(s): 423 (en)
  • Updated carrier data for country calling code(s):
    90 (en), 91 (en), 95 (en), 255 (en), 374 (en, ru)
3 years ago