2017 © Pedro Peláez
 

yii2-extension yii2-phone

International telephone validator

image

indicalabs/yii2-phone

International telephone validator

  • Tuesday, February 20, 2018
  • by indicalabs
  • Repository
  • 1 Watchers
  • 0 Stars
  • 192 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 extension for International phone validator

International telephone validator, (*1)

Installation

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)

Usage

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)

The Versions

20/02 2018

dev-master

9999999-dev

International telephone validator

  Sources   Download

MIT

The Requires

 

by Venu Narukulla

extension yii2 phone international