PHP Classes

Form Checker: Sanitize and validate user input data

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 1,837 All time: 2,140 This week: 107Up
Version License PHP version Categories
formchecker 2Free for non-comm...5.0PHP 5, Validation


This package can be used to sanitize and validate user input data.

It provides several classes to sanitize and validate text data that represent values of several types of data.

It can validate values as not empty or with a minimum and maximum length, according to regular expressions, as integers, that starts or not start with a given prefix, does not match a given list of values, as an e-mail address, as an URL, or check using a user defined function.

It can also sanitize values escaping with slashes, encoding with HTML entities, encode for use as URL parameters, trim to remove white spaces, remove any non-digit characters, and sanitize the values with an user defined function.

Picture of Johan Barbier
Name: Johan Barbier <contact>
Classes: 17 packages by
Country: France France
Age: 52
All time rank: 402 in France France
Week rank: 344 Down16 in France France Down
Innovation award
Innovation award
Nominee: 6x

  Files folder image Files  
File Role Description
Accessible without login Plain text file formchecker.doc.en.txt Doc. English doc
Accessible without login Plain text file Doc. French doc
Accessible without login Plain text file package.formchecker.php Class formChecker package

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,140
This week:107Up
 User Ratings  
 All time