insolita / yii2-validatorpack
...
Installs: 1 188
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.6
- yiisoft/yii2: ~2.0.11
Requires (Dev)
- codeception/codeception: ^2.2.3
- codeception/specify: ~0.4.3
- codeception/verify: ~0.3.1
- vlucas/phpdotenv: *
This package is auto-updated.
Last update: 2024-11-29 04:20:01 UTC
README
-
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"