Normalize mobile, telephone, date, address, postcode. national number and ... . And validate them. Star
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.
Once the extension is installed, simply use it in your code by :
<?= \aminkt\normalizer\Normalize::normalizeMobile($mobile); ?>
Normalizer:
Amin Keshavarz amin@kehsvarz.pro
Validators: