PHPackages                             mitisk/yii2-phone-input - 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. mitisk/yii2-phone-input

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

mitisk/yii2-phone-input
=======================

Поле для ввода телефона в формах

v1(1y ago)110MITPHPPHP &gt;=7.4

Since Sep 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Mitisk/yii2-phone-input)[ Packagist](https://packagist.org/packages/mitisk/yii2-phone-input)[ RSS](/packages/mitisk-yii2-phone-input/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![Stable Version](https://camo.githubusercontent.com/e208e3a2cf742dba25fc8c418a6dfc38745177107430b864769b918a2342d3a9/68747470733a2f2f706f7365722e707567782e6f72672f6d697469736b2f796969322d70686f6e652d696e7075742f762f737461626c65)](https://packagist.org/packages/mitisk/yii2-phone-input)[![License](https://camo.githubusercontent.com/cc3262f04d95169da924324534ad8a8f6223f41824427cb1fbdcfddbe35d6ea7/68747470733a2f2f706f7365722e707567782e6f72672f6d697469736b2f796969322d70686f6e652d696e7075742f6c6963656e7365)](https://packagist.org/packages/mitisk/yii2-phone-input)[![Total Downloads](https://camo.githubusercontent.com/e9880112caab3a2b4199ae30a2ec6bd8bf96e315a8e74116cf3fe1370f798634/68747470733a2f2f706f7365722e707567782e6f72672f6d697469736b2f796969322d70686f6e652d696e7075742f646f776e6c6f616473)](https://packagist.org/packages/mitisk/yii2-phone-input)

Установка
---------

[](#установка)

Запустить

```
composer require mitisk/yii2-phone-input "dev-master"

```

или добавить в `composer.json` в секцию `require`:

```
"mitisk/yii2-phone-input": "dev-master"

```

Использование
-------------

[](#использование)

#### C ActiveForm

[](#c-activeform)

```
// add this in your view
use Mitisk\Yii2PhoneInput\PhoneInput;

// Usage with ActiveForm
$form = \yii\widgets\ActiveForm::begin();

echo $form->field($model, 'phone')->widget(PhoneInput::class, [

]);

\yii\widgets\ActiveForm::end();
```

#### C моделью, без ActiveForm

[](#c-моделью-без-activeform)

```
// add this in your view
use Mitisk\Yii2PhoneInput\PhoneInput;

// Usage with model and without ActiveForm
echo PhoneInput::widget([
    'model' => $model,
    'attribute' => 'password_1'
]);
```

#### Без модели, без ActiveForm

[](#без-модели-без-activeform)

```
// add this in your view
use Mitisk\Yii2PhoneInput\PhoneInput;

// Usage without a model or ActiveForm
echo PhoneInput::widget([
    'name' => 'password_2'
]);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

596d ago

### Community

Maintainers

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

---

Top Contributors

[![Mitisk](https://avatars.githubusercontent.com/u/20151769?v=4)](https://github.com/Mitisk "Mitisk (2 commits)")

### Embed Badge

![Health badge](/badges/mitisk-yii2-phone-input/health.svg)

```
[![Health](https://phpackages.com/badges/mitisk-yii2-phone-input/health.svg)](https://phpackages.com/packages/mitisk-yii2-phone-input)
```

###  Alternatives

[benpickles/peity

Peity (sounds like deity) is a jQuery plugin that converts an element's content into a mini `&lt;svg&gt;` pie, donut, line or bar chart.

4.2k2.8k](/packages/benpickles-peity)[2amigos/yii2-grid-view-library

GridView Widget Extensions for Yii2.

56147.2k12](/packages/2amigos-yii2-grid-view-library)[zhuravljov/yii2-datetime-widgets

Datetime widgets for Yii2.

21118.6k3](/packages/zhuravljov-yii2-datetime-widgets)[smajti1/laravel-wizard

Wizard component for laravel.

409.2k](/packages/smajti1-laravel-wizard)[tivie/command

An utility library that harmonizes OS differences and executes external programs in a safer way

1455.3k1](/packages/tivie-command)[wedevelopnl/silverstripe-elemental-grid

Elemental grid module

1014.1k2](/packages/wedevelopnl-silverstripe-elemental-grid)

PHPackages © 2026

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