PHPackages                             indicalabs/yii2-phone - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. indicalabs/yii2-phone

ActiveYii2-extension[Validation &amp; Sanitization](/categories/validation)

indicalabs/yii2-phone
=====================

International telephone validator

0210PHPCI failing

Since Sep 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/indicalabs/yii2-phone)[ Packagist](https://packagist.org/packages/indicalabs/yii2-phone)[ RSS](/packages/indicalabs-yii2-phone/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 extension for International phone validator
================================================

[](#yii2-extension-for-international-phone-validator)

International telephone validator

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist indicalabs/yii2-phone "*"

```

or add

```
"indicalabs/yii2-phone": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
