PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   Demos   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 512 All time: 5,755 This week: 660Up
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.

Picture of Nahid Bin Azhar
  Performance   Level  
Name: Nahid Bin Azhar <contact>
Classes: 24 packages by
Country: United States United States
Age: 33
All time rank: 792109 in United States United States
Week rank: 53 Up8 in United States United States Up
Innovation award
Innovation award
Nominee: 6x

Winner: 2x

Documentation

 

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  
  Files folder image Files (12)  
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 (12)  /  help  
File Role Description
Files folder imageassets (2 directories)
  Accessible without login HTML file index.html Doc. Documentation

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

  Files folder image Files (12)  /  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 (12)  /  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 (12)  /  src  
File Role Description
  Plain text file Validx.php Class Class source

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadvalidx-2017-02-08.zip 84KB
Downloadvalidx-2017-02-08.tar.gz 83KB
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:512
This week:0
All time:5,755
This week:660Up