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 All time: 6,611 This week: 660Up
Version License PHP version Categories
server-validator 1.1BSD License5.0PHP 5, Validation


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: 356299 in Russian Federation Russian Federation
Week rank: 246 Up11 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  
This week:0
All time:6,611
This week:660Up