PHPackages                             proficlos/phonenumber - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. proficlos/phonenumber

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

proficlos/phonenumber
=====================

Czech PhoneNumber validator &amp; parser

v1.0.1(7y ago)123.4k—2.4%MITPHPPHP &gt;=7.0

Since Sep 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ProfiCloS/PhoneNumber)[ Packagist](https://packagist.org/packages/proficlos/phonenumber)[ Docs](https://github.com/ProfiCloS/PhoneNumber)[ RSS](/packages/proficlos-phonenumber/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (4)Used By (0)

[![GitHub version](https://camo.githubusercontent.com/6a0a31024a4792b60728209b21b3cf75aacf281cd158c9563fec2fcf346a2687/68747470733a2f2f62616467652e667572792e696f2f67682f70726f6669636c6f7325324670686f6e656e756d6265722e737667)](https://badge.fury.io/gh/proficlos%2Fphonenumber)[![travis-ci.com](https://camo.githubusercontent.com/739f7fc191f53c248e1f9b201cddc5a0539edd0bfef61cc0d65366756932de53/68747470733a2f2f7472617669732d63692e636f6d2f50726f6669436c6f532f50686f6e654e756d6265722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/ProfiCloS/PhoneNumber)[![codecov.io](https://camo.githubusercontent.com/ff2a29ecbdfb6c1d101618b131347a7d16cae7605b18648b239a7bc9498f8e78/68747470733a2f2f636f6465636f762e696f2f6769746875622f50726f6669436c6f532f50686f6e654e756d6265722f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/ProfiCloS/PhoneNumber?branch=master)

PhoneNumber validator &amp; parser (CZ &amp; SK &amp; ...)
==========================================================

[](#phonenumber-validator--parser-cz--sk--)

Install with composer
=====================

[](#install-with-composer)

```
$ composer require proficlos/phonenumber
```

How to use
==========

[](#how-to-use)

```
use ProfiCloS\Tools\PhoneNumber;

// validation
PhoneNumber::isPhone('+420777666555'); // true
PhoneNumber::isPhone('777666555'); // true
PhoneNumber::isPhone('77766655'); // false

// parser
$phone = PhoneNumber::from('+420777666555');

$phone->setFormat( PhoneNumber::FORMAT_INTERNATIONAL );
echo $phone; // 00420777666555

$phone->setFormat( PhoneNumber::FORMAT_GSM );
echo $phone; // +420777666555

$phone->setFormat( PhoneNumber::FORMAT_CANONICAL );
echo $phone; // +420 777 666 555
```

Buy us a coffee &lt;3
=====================

[](#buy-us-a-coffee-3)

[![Buy me a Coffee](https://camo.githubusercontent.com/648ad6f048733f167bf65e11a4fd759eef14da88db61ad078bbd5ddea5d57133/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e6174655f4c472e676966)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E8NK53NGKVDHS)

Donate us &lt;3
===============

[](#donate-us-3)

```
ETH: 0x7D771A56735500f76af15F589155BDC91613D4aB
UBIQ: 0xAC08C7B9F06EFb42a603d7222c359e0fF54e0a13

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~7 days

Total

3

Last Release

2831d ago

Major Versions

v0.1 → v1.02018-09-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7625df7e2a7dd56391301ee892c1d3993da57d24595e3e9706d60da4ae3322e?d=identicon)[ProfiCloS](/maintainers/ProfiCloS)

---

Top Contributors

[![czPechy](https://avatars.githubusercontent.com/u/8396185?v=4)](https://github.com/czPechy "czPechy (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/proficlos-phonenumber/health.svg)

```
[![Health](https://phpackages.com/badges/proficlos-phonenumber/health.svg)](https://phpackages.com/packages/proficlos-phonenumber)
```

###  Alternatives

[marcosh/php-validation-dsl

A DSL for validating data in a functional fashion

483.9k](/packages/marcosh-php-validation-dsl)

PHPackages © 2026

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