PHP Classes

php Singleton Validator And Sanitizor Class: Validate and sanitize request values using rules

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 384 All time: 6,675 This week: 310Up
Version License PHP version Categories
request-handler 1GNU General Publi...5HTTP, PHP 5, Validation


This package can validate and sanitize request values using rules.

It takes an array of GET or POST request values and another array that defines rules to validate or sanitize the request values.

The class can take as rules an array of request values that are required, values that will be validated, and values that will be sanitized.

Currently the class can validate email addresses, integers, booleans, IP addresses and URLs.

The class can also sanitize URLs, integers, strings, email addresses and floating point numbers.

Picture of Anirban Nath
Name: Anirban Nath <contact>
Classes: 3 packages by
Country: India India
Age: 34
All time rank: 1739102 in India India
Week rank: 438 Up39 in India India Up

  Files folder image Files  
File Role Description
Plain text file request.lib.php Class Singleton request validator and sanitizor class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,675
This week:310Up