aminkt/normalizer Normalize mobile, telephone, date, address, postcode. national number and ... . And validate them. Star

Data Normalizer

  1. Installation
  2. Usage
  3. Authors

Normalize mobile, telephone, date, address, postcode. national number and ... . And validate them. Star

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist aminkt/normalizer "*"

or add

"aminkt/normalizer": "*"

to the require section of your composer.json file.

Usage

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

<?= \aminkt\normalizer\Normalize::normalizeMobile($mobile); ?>

Authors

Normalizer:

Amin Keshavarz amin@kehsvarz.pro

Validators:

Amin Keshavarz amin@kehsvarz.pro

Mojtaba Anisi

Shahrokh Niakan