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 (12 hours ago) RSS 2.0 feedNot enough user ratingsTotal: 431 All time: 6,023 This week: 671Up
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: 6 packages by
Country: Bangladesh Bangladesh
Innovation award
Innovation award
Nominee: 1x

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
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:431
This week:0
All time:6,023
This week:671Up