PHP Classes
elePHPant
Icontem

Validx - Form Validator: Validate form values according to rules per input

Recommend this page to a friend!
  Info   View files Documentation   Demos   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-02-08 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 504 All time: 5,713 This week: 342Up
Version License PHP version Categories
validx 2.5MIT/X Consortium ...5.4PHP 5, Validation
Description Author

This class can validate form values according to rules per input.

It can as arguments take an array of submitted form values via POST or GET and an array with lists of rules for the inputs to be validated.

The rules per input are defined as a single string separating different rules to apply using || character sequence.

Each rule is defined as a string with the rule name eventually followed by rule parameter values separated by a colon : .

Currently it supports the rules: required, minimum and maximum integer and dates, required file of image or other type, value in or not in a list, value is the same or different of another input, email, URL or IP value, regular expression match, existing or unique field value in MySQL database table.

If there are validation errors the class returns an array with the error messages.

  Performance   Level  
Name: Nahid Bin Azhar <contact>
Classes: 13 packages by
Country: Bangladesh Bangladesh
Age: 29
All time rank: 102416 in Bangladesh Bangladesh
Week rank: 19 Up1 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

 

Details

Introduction

Validx is a PHP class which is validating html inputs or data and retrive all error messages if error occured. Its help your development curve and make easy your form validation. Its consuming development time. Validx has lots of validationg rules. Its followed by Laravel rhythmic coding style. So its easy to understand.

Installation

You can see our help file that was contains with the package. or you may visit our website

Web: http://www.codesum.com/demo/validx/

Thanks

Thank you for using Validx. If you have any query please feel free to contact with us.

Email: talk@nahid.co

  Validx docExternal page  

Open in a separate window

  Files folder image Files  
File Role Description
Files folder imagehelp (1 file, 1 directory)
Files folder imagesrc (1 file)
Files folder imagetests (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  help  
File Role Description
Files folder imageassets (2 directories)
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  help  /  assets  
File Role Description
Files folder imagecss (2 files)
Files folder imagejs (3 files)

  Files folder image Files  /  help  /  assets  /  css  
File Role Description
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file github.min.css Data Auxiliary data

  Files folder image Files  /  help  /  assets  /  js  
File Role Description
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file highlight.min.js Data Auxiliary data
  Accessible without login Plain text file jquery.min.js Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
  Plain text file Validx.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file TestCase.php Data Auxiliary data

Downloadvalidx-2017-02-08.zip 84KB
Downloadvalidx-2017-02-08.tar.gz 82KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
MySQLi class Download .zip .tar.gz becouse some rule related with mysqli Optional
 Version Control Unique User Downloads Download Rankings  
 100%
Total:504
This week:0
All time:5,713
This week:342Up