Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 18 | All time: 11,310 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"
Files (15) |
File | Role | Description | ||
---|---|---|---|---|
src (1 file) | ||||
tests (4 files, 2 directories) | ||||
.scrutinizer.yml | Data | Auxiliary data | ||
.travis.yml | Data | Auxiliary data | ||
CHANGELOG.md | Data | Auxiliary data | ||
codeception.yml | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (15) | / | tests |
File | Role | Description | ||
---|---|---|---|---|
config (2 files) | ||||
unit (2 files) | ||||
.env | Data | Auxiliary data | ||
bootstrap.php | Example | Example script | ||
unit.suite.yml | Data | Auxiliary data | ||
yii | Example | Example script |
Files (15) | / | tests | / | config |
File | Role | Description |
---|---|---|
base.php | Class | Class source |
console.php | Aux. | Auxiliary script |
Files (15) | / | tests | / | unit |
File | Role | Description |
---|---|---|
bootstrap.php | Aux. | Auxiliary script |
PathValidatorTest.php | 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. |
Install with Composer |
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.