insolita/yii2-validatorpack ...

extensionvalidator

Yii2 Validators Collection

Status Latest Stable Version Total Downloads License

  • PathValidator

       public function rules(){
           return [
              [['pathAttribute'],PathValidator::class,'strictDir'=>true],
              [['pathAttribute'],PathValidator::class,'strictFile'=>true,'writeable'=>true],
              [['pathAttribute'],PathValidator::class,'requiredBase'=>'@common/data','readable'=>true],
           ];
       }

Installation

run

composer require --prefer-dist "insolita/yii2-validatorpack:~0.0.2"

or add

"insolita/yii2-validatorpack": "~0.0.2"

Changelog

0.0.1 - initial upload

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.2 is the latest of one release



MIT license
Stats
1 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
1188 total downloads