libphonenumber

Install command:
brew install libphonenumber

C++ Phone Number library by Google

https://github.com/google/libphonenumber

License: Apache-2.0

Formula JSON API: /api/formula/libphonenumber.json

Formula code: libphonenumber.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 9.0.14

Depends on:

abseil 20250814.0 C++ Common Libraries
boost 1.89.0 Collection of portable C++ source libraries
icu4c@77 77.1 C/C++ and Java libraries for Unicode and globalization
protobuf 32.1 Protocol buffers (Google's data interchange format)

Depends on when building from source:

cmake 4.1.1 Cross-platform make
openjdk 25 Development kit for the Java programming language

Analytics:

Installs (30 days)
libphonenumber 94
Installs on Request (30 days)
libphonenumber 94
Build Errors (30 days)
libphonenumber 0
Installs (90 days)
libphonenumber 433
Installs on Request (90 days)
libphonenumber 433
Installs (365 days)
libphonenumber 1,760
Installs on Request (365 days)
libphonenumber 1,759