aertrip / yii2-intl-tel-input
intl-tel-input
Installs: 57
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:yii2-extension
pkg:composer/aertrip/yii2-intl-tel-input
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: 2025-10-23 16:11:20 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.