https://github.com/dmstr/yii2-validators
Yii2 Framework validators
https://github.com/dmstr/yii2-validators
Last synced: 8 months ago
JSON representation
Yii2 Framework validators
- Host: GitHub
- URL: https://github.com/dmstr/yii2-validators
- Owner: dmstr
- Created: 2015-11-16T15:50:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-16T16:40:00.000Z (over 10 years ago)
- Last Synced: 2025-07-08T23:07:10.880Z (11 months ago)
- Language: PHP
- Size: 0 Bytes
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yii2-validators
===============
Yii2 Framework validators
Installation
------------
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist dmstr/yii2-validators "*"
```
or add
```
"dmstr/yii2-validators": "*"
```
to the require section of your `composer.json` file.
Usage
-----
Once the extension is installed, simply use it in your code by :
```php
= \dmstr\validators\AutoloadExample::widget(); ?>```