awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
giggsey avatar

giggsey/libphonenumber-for-php

0
View on GitHub↗
5,030 stars·478 forks·PHP·Apache-2.0·21 viewsgiggsey.com/libphonenumber↗

Libphonenumber For Php

This is a PHP library for parsing, formatting, and validating international phone numbers. It provides tools to verify if a phone number is mathematically possible and logically valid for a specific geographic region, as well as utilities for extracting phone numbers from unstructured text.

The library enables the conversion of raw phone strings into standardized formats, including E.164, international, national, and RFC3966. It also provides metadata extraction to identify associated carriers, time zones, and geographic locations in multiple languages.

Additional capabilities include region code mapping, storage format normalization, and the identification of short-dial numbers, such as emergency services or premium rate numbers. The project also includes utilities for generating valid and invalid example phone numbers for regional testing.

Features

  • International Phone Number Libraries - Provides a comprehensive toolset for parsing, formatting, and validating international phone numbers.
  • Phone Number Parsing & Formatting - Converts raw phone strings into standardized E.164, national, or international formats for consistent display.
  • Phone Number Extraction - Identifies and isolates phone numbers from unstructured text blocks using regional numbering signatures.
  • Phone Metadata Extraction - Identifies the carrier, time zone, and geographic location associated with a specific phone number.
  • Phone Number Parsing - Transforms raw phone number strings into structured data objects by matching international calling codes.
  • Phone Number Validation - Verifies that phone numbers conform to international numbering plans and regional constraints.
  • Metadata Extraction - Extracts carrier names, time zones, and geographic locations from telephone numbers.
  • Regional Phone Formatting - Applies localized digit-grouping and prefix rules to transform numbers into standardized display formats.
  • Phone Number Normalization - Normalizes phone numbers into a consistent format for database storage to ensure reliable retrieval.
  • Country Code Mappings - Maps international country calling codes to region codes and vice versa.
  • Dialing-Optimized Formatting - Creates phone number strings optimized for dialing from specific regions, including mobile and carrier-code formatting.
  • Locale-Aware Telephony Metadata - Retrieves geographic, timezone, and carrier information using localized data tables for specific region codes.
  • Incremental Input Formatting - Updates phone number formatting in real-time as users provide input digits.
  • Metadata Extraction - Extracts region codes, number types, and international dialability status from phone numbers.
  • Telephony Geographic Mapping - Returns the name of the country or geographical area associated with a phone number.
  • Telephony Timezone Mapping - Determines the local time zone of a phone number based on its regional registration.
  • Telecom Carrier Lookups - Identifies the name of the mobile or fixed-line service provider for a specific phone number.
  • Validation and Sanitization - Handles and validates international phone numbers.

Star history

Star history chart for giggsey/libphonenumber-for-phpStar history chart for giggsey/libphonenumber-for-php

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Libphonenumber For Php

These projects share indexed features with Libphonenumber For Php. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • daviddrysdale/python-phonenumbersdaviddrysdale avatar

    daviddrysdale/python-phonenumbers

    3,749View on GitHub↗

    This project is a Python port of the libphonenumber library, providing a suite of tools for parsing, formatting, and validating international phone numbers. It converts raw phone number strings into structured objects based on international numbering plans and verifies if numbers are possible or valid according to digit length and assigned exchange prefixes. The library provides metadata services to retrieve the original network carrier, geographical location descriptions, and associated time zones for specific phone numbers. It also includes tools for transforming numbers into standardized i

    Python
    View on GitHub↗3,749
  • google/libphonenumbergoogle avatar

    google/libphonenumber

    18,077View on GitHub↗

    This project is an international phone number library used for parsing, formatting, and validating phone numbers based on the E.164 standard. It provides a validation engine and parser to convert raw strings into structured objects and verify if numbers conform to regional numbering rules. The library includes a metadata provider that maps phone numbers to geographic locations, time zones, and network carriers. It can distinguish between line types, such as fixed-line or mobile, to verify SMS compatibility and identify original network operators. Additional capabilities include extracting ph

    C++
    View on GitHub↗18,077
  • googlei18n/libphonenumbergooglei18n avatar

    googlei18n/libphonenumber

    18,081View on GitHub↗

    This project is an international phone number library providing tools for parsing, formatting, and validating phone numbers across multiple programming languages. It functions as a parsing utility, a formatting engine, and a validation tool to ensure phone number strings are transformed into structured objects and standardized display formats. The library includes a telecom metadata resolver to retrieve geographical, carrier, and timezone information associated with specific number ranges. It differentiates itself by identifying phone number types, such as mobile, fixed-line, or VoIP, and cal

    C++
    View on GitHub↗18,081
  • marmelroy/phonenumberkitmarmelroy avatar

    marmelroy/PhoneNumberKit

    5,374View on GitHub↗

    PhoneNumberKit is a Swift framework for parsing, formatting, and validating international phone numbers according to global numbering standards. It provides a system of lookup tables, structural parsers, and validation tools to handle the complexities of international telephone numbering. The library converts raw strings into structured objects containing country codes and national numbers. It translates international dialing codes into full country names and verifies whether phone number strings are logically possible and conform to specific regional numbering plans. The project includes ut

    Swift
    View on GitHub↗5,374
Compare all 25 related projects→

Frequently asked questions

What does giggsey/libphonenumber-for-php do?

This is a PHP library for parsing, formatting, and validating international phone numbers. It provides tools to verify if a phone number is mathematically possible and logically valid for a specific geographic region, as well as utilities for extracting phone numbers from unstructured text.

What are the main features of giggsey/libphonenumber-for-php?

The main features of giggsey/libphonenumber-for-php are: International Phone Number Libraries, Phone Number Parsing & Formatting, Phone Number Extraction, Phone Metadata Extraction, Phone Number Parsing, Phone Number Validation, Metadata Extraction, Regional Phone Formatting.

Which projects share features with giggsey/libphonenumber-for-php?

Projects with overlapping indexed features include: daviddrysdale/python-phonenumbers — This project is a Python port of the libphonenumber library, providing a suite of tools for parsing, formatting, and… google/libphonenumber — This project is an international phone number library used for parsing, formatting, and validating phone numbers based… googlei18n/libphonenumber — This project is an international phone number library providing tools for parsing, formatting, and validating phone… marmelroy/phonenumberkit — PhoneNumberKit is a Swift framework for parsing, formatting, and validating international phone numbers according to… jackocnr/intl-tel-input — intl-tel-input is an international telephone input widget that provides a country-aware phone number entry experience… sundowndev/phoneinfoga — PhoneInfoga is an open-source intelligence tool and information framework used to gather public data and metadata…