PHP Classes

validation: Validation with non-regular expression patterns

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 59%Total: 3,815 This week: 1All time: 842 This week: 571Up
Version License Categories
validation 1.0GNU General Publi...Text processing, Validation
Description 

Author

This class is meant to validate text strings using patterns that are defined with a simple syntax that is not based on regular expressions.

Here are a few examples of validation patterns:

"2N 5L" = 2Numbers 1Whitespace 5Letters e.g.: "12 ABCDE"
"2-5N 5L" = 2-5Numbers 1Whitespace 5Letters e.g.: "1234 ABCDE"

"2N:2N:2N" would match on "12:35:24" for checking time
"2N.2N.4N" would match on "01.01.2004" for checking date

This package includes sub-classes to do more specific validations like verifying address data patterns.

Picture of Sven Wagener
Name: Sven Wagener <contact>
Classes: 10 packages by
Country: Germany Germany
Age: 44
All time rank: 141 in Germany Germany
Week rank: 420 Down17 in Germany Germany Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file examples_validate.class.php Example Examples for working with base validation class
Accessible without login Plain text file validate.class.php Class Base validation class
Accessible without login Plain text file validate_address.class.php Class Validate address data

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,815
This week:1
All time:842
This week:571Up
User Ratings User Comments (1)
 All time
Utility:87%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1259