PHP Classes
elePHPant
Icontem

Server Side Validator: Validate forms according to rules defined in JSON

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-07-14 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 384 All time: 6,338 This week: 1,113Up
Version License PHP version Categories
server-validator 1.1BSD License5.0PHP 5, Validation
Description Author

This class can validate forms according to rules defined in JSON.

It takes a string encoded in JSON format that defines the fields, submitted and rules to validate a form.

The class supports several types of field validation: required, number, email, phone numbers, English or Russian text, etc..

The validation can be performed and end when one invalid field is found or validate all fields at once.

The class performs the defined validations and returns the the results also as a JSON encoded string with all the invalid fields and the respective error messages.

Picture of Olga
  Performance   Level  
Name: Olga <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation

  Files folder image Files  
File Role Description
Plain text file server_validator.php Class class for server validation fields

 Version Control Unique User Downloads Download Rankings  
 0%
Total:384
This week:0
All time:6,338
This week:1,113Up