| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 18 | All time: 11,390 This week: 488 | ||||
| Version | License | PHP version | Categories | |||
| yii2-validatorpack 1.0 | MIT/X Consortium ... | 5 | PHP 5, Files and Folders, Libraries, V... |
| Description | Author | |
This package implements file and directory validation rules. |
public function rules(){
return [
[['pathAttribute'],PathValidator::class,'strictDir'=>true],
[['pathAttribute'],PathValidator::class,'strictFile'=>true,'writeable'=>true],
[['pathAttribute'],PathValidator::class,'requiredBase'=>'@common/data','readable'=>true],
];
}
run
composer require --prefer-dist "insolita/yii2-validatorpack:~0.0.2"
or add
"insolita/yii2-validatorpack": "~0.0.2"
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Doc. | Documentation | |||
| / | tests |
| File | Role | Description | ||
|---|---|---|---|---|
| |
Data | Auxiliary data | ||
| |
Example | Example script | ||
| |
Data | Auxiliary data | ||
| |
Example | Example script | ||
| / | tests | / | config |
| File | Role | Description |
|---|---|---|
| |
Class | Class source |
| |
Aux. | Auxiliary script |
| / | tests | / | unit |
| File | Role | Description |
|---|---|---|
| |
Aux. | Auxiliary script |
| |
Class | Class source |
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% |
|
|
| Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.