PHP Classes

Klin Validator: Validate arrays of values according to given rules

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 enough user ratingsTotal: 94 All time: 9,885 This week: 455Up
Version License PHP version Categories
klin-validator 1.0GNU General Publi...5PHP 5, Validation


This class can validate arrays of values according to given rules.

It can take definitions of rules to be applied to each entry of an array to be submitted with values to validate.

The class can take an array with values to validate with the previously defined rules.

It uses regular expressions to validate values by each rule. Currently it can validate values as email, URLs, IP addresses, integers, floats, booleans, minimum, maximum and exact length, and regular expression matching.

The class stores the resulting validation errors in a class variable.

Picture of Akeem Aweda
Name: Akeem Aweda <contact>
Classes: 1 package by
Country: Nigeria Nigeria
Age: ???
All time rank: 442144 in Nigeria Nigeria
Week rank: 185 Up9 in Nigeria Nigeria Up

  Files folder image Files  
File Role Description
Plain text file KlinValidator.php Class This is a very simple and basic class, primarily aims to validate HTML form based on the $_POST method or any other array object. The class uses regular expressions and some php built-in validation techniques

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,885
This week:455Up