Data Normalizer ¶
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:
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.