Skip to content

Little collection of validators for check values as strings and numbers

License

Notifications You must be signed in to change notification settings

JuanchoSL/Validators

Repository files navigation

Validation

Description

Little methods collection in order to validate variables contents

How to use

StringValidation::isEmail("juanchosl@hotmail.com"); //true

or

$validator = new StringValidations('juanchosl@hotmail.com"');
$validator
    ->is()
    ->isNotEmpty()
    ->isLengthGreatherThan(15)
    ->isEmail();
    
$validator->success(); //true

About

Little collection of validators for check values as strings and numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages