PHPackages                             cline/phone-number - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cline/phone-number

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cline/phone-number
==================

Phone number library

2.0.2(2mo ago)01.6k↓18.3%1MITPHPPHP ^8.5.0CI passing

Since Dec 30Pushed 2mo agoCompare

[ Source](https://github.com/faustbrian/phone-number)[ Packagist](https://packagist.org/packages/cline/phone-number)[ RSS](/packages/cline-phone-number/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (5)Dependencies (8)Versions (10)Used By (1)

[![GitHub Workflow Status](https://github.com/faustbrian/phone-number/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/phone-number/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/7f19c88d9e13293520716592eda8e8aacf3c79cab859fcd6c361f53daeb3464c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f70686f6e652d6e756d6265722e737667)](https://packagist.org/packages/cline/phone-number)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/bace408de58f52df2b777a609264f233c6858c17c7e93efbb37af914848b03f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f70686f6e652d6e756d6265722e737667)](https://packagist.org/packages/cline/phone-number)

---

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](https://github.com/giggsey/libphonenumber-for-php), providing a cleaner API and additional convenience methods.

Requirements
------------

[](#requirements)

> **Requires [PHP 8.5+](https://php.net/releases/)**

Installation
------------

[](#installation)

```
composer require cline/phone-number
```

Documentation
-------------

[](#documentation)

- **[Basic Usage](DOCS.md#doc-cookbooks-basic-usage)** - Parsing, validation, formatting, and number components
- **[Metadata](DOCS.md#doc-cookbooks-metadata)** - Geographic descriptions, carrier info, and time zones
- **[Exception Handling](DOCS.md#doc-cookbooks-exception-handling)** - Handling parse errors gracefully

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/phone-number/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [giggsey/libphonenumber-for-php](https://github.com/giggsey/libphonenumber-for-php)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License. Please see [License File](LICENSE.md) for more information.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance88

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Recently: every ~19 days

Total

9

Last Release

61d ago

Major Versions

1.x-dev → 2.0.02026-03-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (9 commits)")

---

Tags

phpphonephonenumberphone-number

### Embed Badge

![Health badge](/badges/cline-phone-number/health.svg)

```
[![Health](https://phpackages.com/badges/cline-phone-number/health.svg)](https://phpackages.com/packages/cline-phone-number)
```

###  Alternatives

[odolbeau/phone-number-bundle

Integrates libphonenumber into your Symfony application

24910.3M11](/packages/odolbeau-phone-number-bundle)[brick/phonenumber

Phone number library

4347.1M39](/packages/brick-phonenumber)[log1x/acf-phone-number

A real ACF phone number field.

12072.5k](/packages/log1x-acf-phone-number)[rynpsc/craft-phone-number

International phone number field.

2265.9k](/packages/rynpsc-craft-phone-number)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
