panix / wgt-telinput
Widget telinput
Package info
github.com/andrtechno/wgt-telinput
Type:pixelion-component
pkg:composer/panix/wgt-telinput
1.0.0
2021-08-11 09:40 UTC
Requires
- bower-asset/intl-tel-input: ~17
- giggsey/libphonenumber-for-php: ^8
This package is auto-updated.
Last update: 2026-02-24 20:26:07 UTC
README
Widget for Yii Framework 2.0
Installation
The preferred way to install this extension is through composer.
Either run
php composer require --prefer-dist panix/wgt-telinput "*"
or add
"panix/wgt-telinput": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?php $form->field($model, 'text')->widget(TelInput::class, [ 'options' => [], ]); ?>