aminkt/normalizer

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

1.0.0 2018-08-23 08:08 UTC

This package is auto-updated.

Last update: 2024-12-14 00:23:46 UTC


README

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