PHPackages                             omnilight/yii2-phonenumbers - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. omnilight/yii2-phonenumbers

ActiveYii2-extension[Parsing &amp; Serialization](/categories/parsing)

omnilight/yii2-phonenumbers
===========================

Provides phone number parsing and transform behaviors and validators

1.1.0(10y ago)730.3k7[1 PRs](https://github.com/omnilight/yii2-phonenumbers/pulls)1PHPPHP &gt;=5.4.0

Since Dec 19Pushed 9y ago2 watchersCompare

[ Source](https://github.com/omnilight/yii2-phonenumbers)[ Packagist](https://packagist.org/packages/omnilight/yii2-phonenumbers)[ RSS](/packages/omnilight-yii2-phonenumbers/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (1)

Phone numbers validation and formatting for Yii 2
=================================================

[](#phone-numbers-validation-and-formatting-for-yii-2)

This extension adds phone number behavior and validator for Yii framework 2.0

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist omnilight/yii2-phonenumbers "*"

```

or add

```
"omnilight/yii2-phonenumbers": "*"
```

to the `require` section of your composer.json.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

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

Total

2

Last Release

3976d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dd587176cd9b14be73e1ccba507b3fc44f5cc8008ffd073d32bbb8c3a7fda04?d=identicon)[omnilight](/maintainers/omnilight)

---

Top Contributors

[![omnilight](https://avatars.githubusercontent.com/u/3306537?v=4)](https://github.com/omnilight "omnilight (12 commits)")

---

Tags

phonemobileyii2

### Embed Badge

![Health badge](/badges/omnilight-yii2-phonenumbers/health.svg)

```
[![Health](https://phpackages.com/badges/omnilight-yii2-phonenumbers/health.svg)](https://phpackages.com/packages/omnilight-yii2-phonenumbers)
```

###  Alternatives

[alexandernst/yii2-device-detect

Yii2 extension for Mobile-Detect library

141846.2k3](/packages/alexandernst-yii2-device-detect)[nizsheanez/yii2-json-rpc

A lightweight JsonRpc Server and Client for PHP

2034.0k](/packages/nizsheanez-yii2-json-rpc)[devgroup/yii2-jsoneditor

Yii2 jsoneditor widget

1199.6k1](/packages/devgroup-yii2-jsoneditor)[demi/sitemap-generator

Yii2 component for generate sitemap.xml files.

1427.0k](/packages/demi-sitemap-generator)

PHPackages © 2026

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