PHP Classes

PHP Form Data Validation: Validate arrays of data using a list of rules

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 221 All time: 8,265 This week: 217Up
Version License PHP version Categories
php-data-validation 1.0.0GNU General Publi...5PHP 5
Description 

Author

This class can validate arrays of data using a list of rules.

It can as parameters take an array with data values and another array with a list of rules.

The class validate the data values according to the given rules and sets a class variable with the list of errors for each data entry that is invalid.

Currently the class can validate data values with rules like:

- Required
- Character Length
- Alphanumeric
- Email
- Alpha
- Password
- URL
- Range

Picture of Mark Mendoza
  Performance   Level  

 

  Files folder image Files (1)  
File Role Description
Plain text file index.php Class PHP Data Form Validation

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 Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:221
This week:0
All time:8,265
This week:217Up