dev-master
9999999-devInternational telephone validator
MIT
The Requires
- yiisoft/yii2 ~2.0.14
 - npm-asset/intl-tel-input 12.1.9
 
by Venu Narukulla
extension yii2 phone international
                         Wallogit.com
                    
                    2017 © Pedro Peláez
                    
                    
                    
                    
                
                
            
International telephone validator
International telephone validator, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist indicalabs/yii2-phone "*"
or add, (*4)
"indicalabs/yii2-phone": "*"
to the require section of your composer.json file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
php
<?= $form->field($model, 'mobile_number')->widget(indicalabs\phone\IntlTelWidget::className(),[
                                                'clientOptions' => [
                                                            'initialCountry' => 'us',
                                                        ]       
                                            ]);  ?>, (*7)
International telephone validator
MIT
extension yii2 phone international