PHP Classes

phalidate: Data validation class

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 953 This week: 1All time: 3,780 This week: 560Up
Version License Categories
phalidate 1.0Public DomainValidation
Description 

Author

This package has a set of classes used in data validation.

The data can come from a HTML form or other source.

This package was designed to work with or without a templating engine like Smarty. It was also designed to be extensible and easily changed.

All the validation code is in the phalidators class. The logic that manages the validation process is in the (parent) phalidate class. If you want to add additional validation, update the phalidators class.

It can be used to test one field, doing a boolean test, or can be used for a series of tests, and then retrieve the aggregate errors (as IDs or localized messages).

It has support for localized error messages (currently English, Spanish and German).

Picture of Chris Hubbard
Name: Chris Hubbard <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 2428331 in United States United States
Week rank: 411 Up48 in United States United States Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file de_messages.php Aux. German error messages
Accessible without login Plain text file en_messages.php Aux. English error messages
Accessible without login Plain text file es_messages.php Aux. Spanish error messages
Accessible without login HTML file faq.html Doc. FAQ
Plain text file phalidate.php Class Base class for phalidate
Plain text file phalidators.php Class Class that does the validation
Accessible without login HTML file releasenotes.html Doc. phalidate release notes
Accessible without login Plain text file test_phalidate.php Test File used to perform simple unit testing of phalidate

 Version Control Unique User Downloads Download Rankings  
 0%
Total:953
This week:1
All time:3,780
This week:560Up