Easy Input Validator: Validate request values according to given rules

Recommend this page to a friend!
  Info   Example   View files (11)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 149 All time: 8,854 This week: 300
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: 15 packages by
Country: Serbia Serbia
Age: 26
All time rank: 17217 in Serbia Serbia
Week rank: 84 1 in Serbia Serbia
Innovation award
Innovation award
Nominee: 4x

File Role Description
Rules (9 files)
example.php Example Example script
InputValidator.php Class Class file

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,854
This week:300

For more information send a message to info at phpclasses dot org.