PHP Package: giggsey/libphonenumber-for-php

A PHP library for parsing, formatting, and validating international phone numbers using the libphonenumber library.

Current Version: 8.13.55
Last Updated: 2025-02-14
PHP Requirement: >=7.1
Dependencies: giggsey/libphonenumber, symfony/polyfill-php73
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Libphonenumber-for-php is a powerful PHP library that provides functionality to handle international phone numbers with ease. It integrates the libphonenumber library to ensure accurate parsing, formatting, and validation of phone numbers. With this library, developers can streamline phone number processing in their applications, enhancing user experience and data accuracy. The library offers comprehensive documentation and examples to facilitate seamless integration.

🔗 View on GitHub

Download Latest Version: 8.13.55

Download Download v8.13.55

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php

// Example from PHPlibraries.com
require_once 'libs/giggsey/libphonenumber-for-php/lib_version/autoload.php';

use libphonenumber\PhoneNumberUtil;
use libphonenumber\PhoneNumberFormat;
use libphonenumber\PhoneNumberType;


$obj = new libphonenumber\PhoneNumberUtil();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.