Download the PHP package litto/validator without Composer
On this page you can find all versions of the php package litto/validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download litto/validator
More information about litto/validator
Files in litto/validator
Download litto/validator
More information about litto/validator
Files in litto/validator
Vendor litto
Package validator
Short Description Class validator for Form Submissions
License proprietary
Package validator
Short Description Class validator for Form Submissions
License proprietary
Please rate this library. Is it a good library?
Informations about the package validator
Validator class
Validating Class for Form submissions
How to Install?
You can install the package using composer by typing the command
composer require litto/validator:v1.0
How it Works?
$rules = array( "firstName"=>"LABEL1/EMPTY", "lastName"=>"LABEL2/EMPTY", "email"=>"LABEL3/EMAIL|EMPTY", "website"=>"LABEL4/URL", "price"=>"LABEL5/NUMBER|EMPTY", ); $obj = new Validator($rules); if($obj -> validate()){ echo "Validation Success"; }else{ echo $obj->getMessage(); }
After Form submission, just initialise the validator class and pass the validate rules
All versions of validator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.0
The package litto/validator contains the following files
Loading the files please wait ...