aertrip / yii2-intl-tel-input
intl-tel-input
Package info
gitlab.com/aertrip/yii2-intl-tel-input
Type:yii2-extension
pkg:composer/aertrip/yii2-intl-tel-input
1.0.3
2018-11-03 17:38 UTC
Requires
- bower-asset/intl-tel-input: v14.0.3
- giggsey/libphonenumber-for-php: 8.9.7
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-02-26 17:49:52 UTC
README
intl-tel-input
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist aertrip/yii2-intl-tel-input "*"
or add
"aertrip/yii2-intl-tel-input": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \aertrip\intltelinput\IntlTelInput::widget(); ?>
<?= $form->field($model_user, 'attribute')
->widget(IntlTelInput::className(), []) ?>
Client side validation added.