Skip to content

Releases: giggsey/libphonenumber-for-php

9.0.7

09 Jun 07:32
097efae
Compare
Choose a tag to compare

Google v9.0.7 changes: Jun 04, 2025

Metadata changes:
  • Updated phone metadata for region code(s):
    AU, BW, CC, CX, DE, LB, MN, PA, PT, SG, UG
  • Updated short number metadata for region code(s): DE
  • Updated geocoding data for country calling code(s): 61 (en)
  • Updated carrier data for country calling code(s):
    46 (en), 47 (en), 48 (en), 65 (en), 81 (en), 256 (en)
  • Updated / refreshed time zone meta data.

9.0.6

29 May 10:09
ff98e03
Compare
Choose a tag to compare

Google v9.0.6 changes: May 23, 2025

Metadata changes:
  • Updated phone metadata for region code(s):
    BI, CA, CO, HK, IR, LI, LR, MY, SA, US
  • New geocoding data for country calling code(s): 1257 (en)
  • Updated geocoding data for country calling code(s): 57 (en)
  • Updated carrier data for country calling code(s):
    33 (en), 57 (en), 61 (en), 81 (en), 98 (en, fa), 229 (en), 370 (en),
    423 (en), 852 (en, zh)
  • Updated / refreshed time zone meta data.

9.0.5

08 May 07:10
8c2c1d6
Compare
Choose a tag to compare

Google v9.0.5 changes: May 07, 2025

Metadata changes:
  • Updated phone metadata for region code(s): EH, IL, LA, MA, ML, QA, SG, SR
  • Updated carrier data for country calling code(s):
    49 (en), 65 (en), 597 (en), 856 (en)

9.0.4

28 Apr 07:30
2046666
Compare
Choose a tag to compare

Google v9.0.4 changes: Apr 23, 2025

Metadata changes:
  • Updated phone metadata for region code(s): BI, BR, LB, MU, NG, SG, SY
  • Updated geocoding data for country calling code(s):
    55 (en), 230 (en, es, fr), 234 (en)
  • Updated carrier data for country calling code(s):
    33 (en), 65 (en), 230 (en), 961 (en), 963 (en)

9.0.3

11 Apr 07:42
f41acc3
Compare
Choose a tag to compare

Google v9.0.3 changes: Apr 09, 2025

Metadata changes:
  • Updated alternate formatting data for country calling code(s): 43
  • Updated phone metadata for region code(s): AT, GD, HK, HR, MX, RE
  • Updated short number metadata for region code(s): HR
  • Updated geocoding data for country calling code(s): 52 (en)
  • Updated carrier data for country calling code(s):
    43 (en), 229 (en), 262 (en), 852 (en, zh)

9.0.2

28 Mar 10:07
50c6e06
Compare
Choose a tag to compare

PHP Changes

  • Make PhoneNumberUtil::UNKNOWN_REGION visible again (#691 - thanks @gsteel)
  • Fix 32bit PHP issue in truncateLongNumber (#689)

Google v9.0.2 changes: Mar 27, 2025

Metadata changes:
  • Updated phone metadata for region code(s): NR, US, UZ, ZA
  • New geocoding data for country calling code(s): 1821 (en)
  • Updated geocoding data for country calling code(s): 27 (en)
  • Updated carrier data for country calling code(s):
    27 (en), 389 (en), 674 (en)
  • Updated / refreshed time zone meta data.

9.0.1

21 Mar 13:35
d558893
Compare
Choose a tag to compare

PHP Changes

Google v9.0.1 changes: Mar 13, 2025

Metadata changes:
  • Updated phone metadata for region code(s): AR, MM, SG, US, ZM
  • Updated carrier data for country calling code(s):
    36 (en), 65 (en), 260 (en), 855 (en)

9.0.0

20 Mar 11:27
8dc024f
Compare
Choose a tag to compare

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.

PHP Changes

  • Minimum PHP version: Now 8.1+.
  • Function & parameter types: All functions and parameters now have explicit type definitions.
  • Backed Enums replace const classes:
    • Example: PhoneNumberType is now an enum instead of a class with constants.
    • If you previously referenced the constants directly, no changes are required.
    • If you stored constant values (integers), you'll need to use from() to load the corresponding enum.
  • Metadata storage improvement:
    • Metadata is now stored directly in PHP classes instead of arrays.
    • This improves performance when loading metadata but does not affect usage.

Google v9.0.0 changes: Feb 27, 2025

Metadata changes:
  • Updated alternate formatting data for country calling code(s): 385
  • Updated phone metadata for region code(s):
    AR, BL, GF, GP, GY, HK, JP, MF, RE, SG, SL, SN, TJ, UG, VE, ZA
  • Updated geocoding data for country calling code(s): 27 (en)
  • Updated carrier data for country calling code(s):
    58 (en), 65 (en), 221 (en), 256 (en), 592 (en), 852 (en, zh), 992 (en)
  • Updated / refreshed time zone meta data.

8.13.55

14 Feb 08:14
6e28b3d
Compare
Choose a tag to compare

Google v8.13.55 changes: Feb 13, 2025

Metadata changes:
  • Updated phone metadata for region code(s): BE, CZ, SR
  • Updated short number metadata for region code(s): NO
  • Updated carrier data for country calling code(s):
    33 (en), 41 (en), 255 (en), 351 (en), 503 (en), 597 (en)

8.13.54

31 Jan 15:01
42d3a03
Compare
Choose a tag to compare

Google v8.13.54 changes: Jan 29, 2025

Metadata changes:
  • Updated phone metadata for region code(s): HK, ML, NC, PL, US
  • New geocoding data for country calling code(s): 1274 (en)
  • Updated carrier data for country calling code(s):
    41 (en), 48 (en), 51 (en), 223 (en), 268 (en), 852 (en, zh)
  • Updated / refreshed time zone meta data.