jberall/yii2-postal-code-validator

Using Server side validation based on https://github.com/sirprize/postal-code-validator

dev-master 2017-06-01 17:18 UTC

This package is not auto-updated.

Last update: 2024-03-26 23:21:10 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(); ?>```