PHP Classes

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

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: 395 All time: 6,613 This week: 660Up
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 (1)  
File Role Description
Plain text file server_validator.php Class class for server validation fields

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:395
This week:0
All time:6,613
This week:660Up