PHP Classes
elePHPant
Icontem

Easy Input Validator: Validate request values according to given rules

Recommend this page to a friend!
  Info   View files Example   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-02-02 (8 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 133 All time: 8,281 This week: 906Up
Version License PHP version Categories
easy-input-validator 1.0.0MIT/X Consortium ...5.4PHP 5, Validation
Description Author

This package can validate request values according to given rules.

It can take a given array of request values eventually from $_GET or $_POST and it validate the values according to given rules of another given array.

It validates the values using separate validation rules classes.

Currently it provides rules class for validating values as email, entity exists, field is the same as other, maximum length, may not exists, minimum length, required, and unique entity.

Picture of Aleksandar Zivanovic
  Performance   Level  
Name: Aleksandar Zivanovic <contact>
Classes: 8 packages by
Country: Serbia Serbia
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imageRules (9 files)
Accessible without login Plain text file example.php Example Example script
Plain text file InputValidator.php Class Class file

  Files folder image Files  /  Rules  
File Role Description
  Plain text file InputValidatorRule.php Class Input Validator Rule Abstract
  Plain text file RuleEmail.php Class Rule for validating email
  Plain text file RuleEntityExists.php Class Rule for validating existance of database record
  Plain text file RuleFieldSameAsOther.php Class Rule for validating fields value that is same as another field value
  Plain text file RuleMaximumLength.php Class Rule for validating maximum length of value
  Plain text file RuleMayNotExists.php Class Rule for validating that entity in database does not exists
  Plain text file RuleMinimumLength.php Class Rule for validating minimum length of value
  Plain text file RuleRequired.php Class Rule for validating existance of input
  Plain text file RuleUniqueEntity.php Class Rule for checking uniquenes of record in database (simillar to "same")

 Version Control Unique User Downloads Download Rankings  
 0%
Total:133
This week:0
All time:8,281
This week:906Up