Login   Register  
PHP Classes
elePHPant
Icontem

PHP Validator: Validate request values with given rules

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   Screenshots Screenshots   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-10 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 158 This week: 6All time: 7,399 This week: 265Up
Version License PHP version Categories  
php-validator 1.0MIT/X Consortium License5.4PHP 5, Databases, Validation
Description Author  

This class can validate request values with given rules.

It can take an array of POST or GET request values and validate against a list of given rules.

If the validation fails, the class returns a list of error objects that can return the error details for each of the request value.

Currently the class supports validating values with rules that check required values, minimum and maximum length, email addresses, url, ip address, letters and digits, numbers, regular expression, unique value database field.

Picture of Ravi Kumar
Name: Ravi Kumar is available for providing paid consulting. Contact Ravi Kumar .
Classes: 4 packages by
Country: India India
Age: 30
All time rank: 2058129 in India India
Week rank: 150 Up17 in India India Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • With_Error.png
  • Screenshot.png
  Files folder image Files  
File Role Description
Files folder imageassets (2 directories)
Files folder imageclasses (3 files)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Data Auxiliary data
Accessible without login Plain text file README.md Doc. Auxiliary data

  Files folder image Files  /  assets  
File Role Description
Files folder imagecss (1 file)
Files folder imagescss (1 file, 3 directories)

  Files folder image Files  /  assets  /  css  
File Role Description
  Accessible without login Plain text file main.css Output Sample output

  Files folder image Files  /  assets  /  scss  
File Role Description
Files folder imagebase (2 files)
Files folder imagehelpers (4 files)
Files folder imagemodules (3 files)
  Accessible without login Plain text file main.scss Output Sample output

  Files folder image Files  /  assets  /  scss  /  base  
File Role Description
  Accessible without login Plain text file _all.scss Data Auxiliary data
  Accessible without login Plain text file _typography.scss Data Auxiliary data

  Files folder image Files  /  assets  /  scss  /  helpers  
File Role Description
  Accessible without login Plain text file _all.scss Data Auxiliary data
  Accessible without login Plain text file _functions.scss Data Auxiliary data
  Accessible without login Plain text file _mixins.scss Data Auxiliary data
  Accessible without login Plain text file _variables.scss Data Auxiliary data

  Files folder image Files  /  assets  /  scss  /  modules  
File Role Description
  Accessible without login Plain text file _alerts.scss Data Auxiliary data
  Accessible without login Plain text file _all.scss Data Auxiliary data
  Accessible without login Plain text file _buttons.scss Data Auxiliary data

  Files folder image Files  /  classes  
File Role Description
  Plain text file Database.php Class Class source
  Plain text file ErrorHandler.php Class Class source
  Plain text file Validator.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 89%Total:158All time:7,399
 This week:6This week:265Up