cline/phone-number

Phone number library

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/cline/phone-number

1.1.0 2025-12-05 01:31 UTC

This package is auto-updated.

Last update: 2025-12-26 14:51:11 UTC


README

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads

Phone Number is a PHP library for parsing, validating, formatting, and extracting metadata from phone numbers. It provides an immutable, fluent API with comprehensive support for international phone numbers across all regions.

This is a wrapper around giggsey/libphonenumber-for-php, providing a cleaner API and additional convenience methods.

Requirements

Requires PHP 8.5+

Installation

composer require cline/phone-number

Documentation

  • Basic Usage - Parsing, validation, formatting, and number components
  • Metadata - Geographic descriptions, carrier info, and time zones
  • Exception Handling - Handling parse errors gracefully

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.