Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Libphonenumber For Php Lite Laravel Package

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.

View on GitHub
Deep Wiki
Context7
9.0.41

PHP Changes

  • Return an empty string when dialing BR numbers without a carrier code (#769) - thanks @youdie006
  • Return false from isCarrierSpecific() when no region matches (#770) - thanks @youdie006

Google v9.0.41 changes: Oct 07, 2026

Metadata changes:
  • Updated phone metadata for region code(s): CN, IR, NG, US
  • Updated short number metadata for region code(s): CN
9.0.37

Google v9.0.37 changes: Aug 13, 2026

Metadata changes:
  • Updated phone metadata for region code(s): AR, BD, CL, ES, FJ, GM, GY, IL, MZ, NO, PE, SJ, SY, TG, TR, UG
  • Updated short number metadata for region code(s): ES
9.0.36

Google v9.0.36 changes: Jul 30, 2026

Code changes:
  • Cap the number of leading zeros to getNationalSignificantNumber
  • Replace recursive regex with linear scan in isAlphaNumber()
Metadata changes:
  • Updated phone metadata for region code(s): BD, EH, FO, GE, IL, LI, MA, ML, NO, SJ
  • Updated short number metadata for region code(s): FO, IT
9.0.35

Google v9.0.35 changes: Jul 16, 2026

Metadata changes:
  • Updated phone metadata for region code(s): AC, CN, FO, GE, IR, KE, SE, UG, ZW
  • Updated short number metadata for region code(s): FR
9.0.34

Google v9.0.34 changes: Jul 02, 2026

Metadata changes:
  • Updated phone metadata for region code(s): CM, ES, GY, HN, MZ, SR, TM, TZ, US, UZ
9.0.33

Google v9.0.33 changes: Jun 17, 2026

Code changes:
  • Fix 000 Short Code incorrectly formatting for E164
Metadata changes:
  • Updated phone metadata for region code(s): BF, KE, MC, MW, NO, SG, SI, UG, VN
9.0.32

Google v9.0.32 changes: Jun 03, 2026

Metadata changes:
  • Updated phone metadata for region code(s): DZ, JP, NO, SJ, SO, UG
9.0.31

Google v9.0.31 changes: May 20, 2026

Metadata changes:
  • Updated phone metadata for region code(s): AI, BO, DZ, ET, GE, GM, IN, TR, UG, VN
  • Updated short number metadata for region code(s): IT
9.0.30

Google v9.0.30 changes: May 06, 2026

Metadata changes:
  • Updated phone metadata for region code(s): CL, CZ, DE, IN, SG
9.0.29

Google v9.0.29 changes: Apr 22, 2026

Metadata changes:
  • Updated phone metadata for region code(s): BI, BL, GP, MF, MY, SK, TH, TR, TW
  • Updated short number metadata for region code(s): CH
9.0.28

Google v9.0.28 changes: Apr 09, 2026

Code changes:
  • Refactor hasFormattingPatternForNumber to only call chooseFormattingPatternForNumber once
Metadata changes:
  • Updated phone metadata for region code(s): BW, IL, MN, RE, SR, YT
9.0.27

Google v9.0.27 changes: Mar 26, 2026

Metadata changes:
  • Updated phone metadata for region code(s): BF, BL, CM, GF, GH, GP, GU, KE, MF, MQ, MY, SX, TD, TJ, US
9.0.26

Google v9.0.26 changes: Mar 12, 2026

Metadata changes:
  • Updated phone metadata for region code(s): BL, GF, GP, GY, KY, MF, PL, PM, VU
  • Updated short number metadata for region code(s): BL, GF, GP, GY, MF, PM
9.0.25

Google v9.0.25 changes: Feb 25, 2026

Metadata changes:
  • Updated phone metadata for region code(s): 882, HK, MY, PA, SL, TG, TR
  • Updated short number metadata for region code(s): KR
9.0.24

Google v9.0.24 changes: Feb 12, 2026

Metadata changes:
  • Updated phone metadata for region code(s): CF, HT, KZ, LU, PL, RU, SG, TT, TZ
9.0.23

Google v9.0.23 changes: Jan 29, 2026

Metadata changes:
  • Updated phone metadata for region code(s): AS, BE, CD, EH, GY, IR, JM, MA, MU, PY, SA, US
  • Updated short number metadata for region code(s): PY
9.0.22

Google v9.0.22 changes: Jan 13, 2026

Metadata changes:
  • Updated phone metadata for region code(s): AE, AG, AI, AS, BB, BM, BS, CA, DM, DO, GD, GU, HK, JM, KN, KR, KY, LC, MA, MP, MS, PR, SG, SX, TC, TT, UG, US, VC, VG, VI

PHP Changes

  • Fix PHP 8.5 warning (#121) - thanks @grzybu
9.0.21

Google v9.0.21 changes: Dec 17, 2025

Metadata changes:
  • Updated phone metadata for region code(s): CL, EE, ET, GE, GY, HK, IN, KR, MG, SG, SV, US
9.0.20

Google v9.0.20 changes: Dec 04, 2025

Metadata changes:
  • Updated phone metadata for region code(s): GY, IL, MU, TD, TZ, UG, UZ
9.0.19

Google v9.0.19 changes: Nov 19, 2025

Metadata changes:
  • Updated phone metadata for region code(s): CF, EE, EH, GE, IN, LB, MA, OM, SG, SN, SV, UG
9.0.18

Google v9.0.18 changes: Nov 06, 2025

Metadata changes:
  • Updated phone metadata for region code(s): AU, BJ, CC, CX, ET, IL, IR, MC, PY, QA, SG, SV, TJ, UG, ZA
  • Updated short number metadata for region code(s): PY
9.0.17

Google v9.0.17 changes: Oct 23, 2025

Metadata changes:
  • Updated phone metadata for region code(s): AU, CC, CX, GB, LB, MG, SN
  • Updated short number metadata for region code(s): RO
9.0.16

Google v9.0.16 changes: Oct 09, 2025

Metadata changes:
  • Updated phone metadata for region code(s): CZ, ES, GE, HK, JO, LI, US
  • Updated short number metadata for region code(s): ES
9.0.15

Google v9.0.15 changes: Sep 24, 2025

Metadata changes:
  • Updated phone metadata for region code(s): KE, UG, US
  • Updated short number metadata for region code(s): DE, ES
9.0.14

Google v9.0.14 changes: Sep 11, 2025

Metadata changes:
  • Updated phone metadata for region code(s): CZ, DE, IT, LI, LV, ME, SG, US
  • Updated short number metadata for region code(s): DE
9.0.13

Google v9.0.13 changes: Aug 28, 2025

Metadata changes:
  • Updated phone metadata for region code(s): BT, DE, GY, IL, OM, PA, SG, SR, UY
  • Updated short number metadata for region code(s): UY
9.0.12

Google v9.0.12 changes: Aug 13, 2025

Metadata changes:
  • Updated phone metadata for region code(s): GB, GG, GM, GY, IM, JE
9.0.11

Google v9.0.11 changes: Jul 30, 2025

Metadata changes:
  • Updated phone metadata for region code(s): DO, EH, IL, JP, MA, MN, OM, PG, SG, US
  • Updated short number metadata for region code(s): DE, JP
9.0.10

Google v9.0.10 changes: Jul 17, 2025

Metadata changes:
  • Updated phone metadata for region code(s): AU, CC, CL, CX, ET, JP, NP, SY, SZ
  • Updated short number metadata for region code(s): JP
9.0.9

Google v9.0.9 changes: Jul 02, 2025

Metadata changes:
  • Updated phone metadata for region code(s): CZ, GM, HK, KW, TD, US, WS
9.0.8

Google v9.0.8 changes: Jun 19, 2025

Metadata changes:
  • Updated phone metadata for region code(s): BF, DE, EH, GY, HK, HT, KZ, MA, RU, UG
  • Updated short number metadata for region code(s): AT

PHP Bug Fix

  • Fix unserialize() for old (v8) serialized data: #705 - thanks @odolbeau
9.0.7

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
9.0.6

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
9.0.5

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
9.0.4

Google v9.0.4 changes: Apr 23, 2025

Metadata changes:
  • Updated phone metadata for region code(s): BI, BR, LB, MU, NG, SG, SY
9.0.3

Google v9.0.3 changes: Apr 09, 2025

Metadata changes:
  • Updated phone metadata for region code(s): AT, GD, HK, HR, MX, RE
  • Updated short number metadata for region code(s): HR
9.0.2

PHP Changes

Google v9.0.2 changes: Mar 27, 2025

Metadata changes:
  • Updated phone metadata for region code(s): NR, US, UZ, ZA
9.0.1

PHP Changes

Google v9.0.1 changes: Mar 13, 2025

Metadata changes:
  • Updated phone metadata for region code(s): AR, MM, SG, US, ZM
9.0.0

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

  • 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 phone metadata for region code(s): AR, BL, GF, GP, GY, HK, JP, MF, RE, SG, SL, SN, TJ, UG, VE, ZA
8.13.55

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
8.13.54

Google v8.13.54 changes: Jan 29, 2025

Metadata changes:
  • Updated phone metadata for region code(s): HK, ML, NC, PL, US
8.13.53

Google v8.13.53 changes: Jan 13, 2025

Code changes:
  • Fixed a bug where the extension was appended twice in formatOutOfCountryKeepingAlphaChars
Metadata changes:
  • Updated phone metadata for region code(s): EH, IL, LV, MA, MK, MM, MU, PW, SO
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
ably/pubsub-server
mstfkhazaal/defender
mfonte/base62x
karnoweb/metapilot
tobya/bcsapiwrapper
swalker2/cpanel
vish4395/laravel-translation-manager
morningtrain/economic
teksite/systeminfo-laravel
atomcms/voting
run6/weather
siokas/laravelembeddirectives
adamlien/pkuuids
gilsonsouza/lara-doc-generator
manelgavalda/enrollment_mobile
unabomber/timezone
delatbabel/contacts
astritzeqiri/g-recaptcha
kevinongko/laravel-genode
developeruz/laravel-analytics