PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 395 This week: 1All time: 6,608 This week: 560Up
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
Age: ???
All time rank: 355899 in Russian Federation Russian Federation
Week rank: 411 Up22 in Russian Federation Russian Federation Up

  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:395
This week:1
All time:6,608
This week:560Up