panix / wgt-telinput
Widget telinput
Installs: 239
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:pixelion-component
Requires
- bower-asset/intl-tel-input: ~17
- giggsey/libphonenumber-for-php: ^8
This package is auto-updated.
Last update: 2024-10-24 17:29:49 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' => [], ]); ?>