jberall / yii2-postal-code-validator
Using Server side validation based on https://github.com/sirprize/postal-code-validator
Package info
github.com/jberall/yii2-postal-code-validator
Type:yii2-extension
pkg:composer/jberall/yii2-postal-code-validator
dev-master
2017-06-01 17:18 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2026-03-11 08:54:59 UTC
README
Using Server side validation based on https://github.com/sirprize/postal-code-validator
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist jberall/yii2-postal-code-validator "*"
or add
"jberall/yii2-postal-code-validator": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \jberall\postalcodevalidator\AutoloadExample::widget(); ?>```