gardeshi / php-normalizer
Normalize mobile, telephone, date, address, postcode. national number and ... . And validate them. Star
dev-master
2020-11-22 14:39 UTC
This package is not auto-updated.
Last update: 2025-03-24 15:13:44 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 gardeshi/php-normalizer "*"
or add
"gardeshi/php-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: