Skip to content

nickyeoman/php-validation-class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Validation Class

A simple yet effective validation class written in PHP.

Introduction

Originally created on October 31, 2009, using CodeIgniter, this class has been revived to meet the needs of numerous projects.

Full Documentation

Github: https://github.com/nickyeoman/php-validation-class

Packagist

Composer: https://packagist.org/packages/nickyeoman/php-validation-class

composer require nickyeoman/php-validation-class

Usage

Include the class in your project.

USE Nickyeoman\Validation;
$validate = new Nickyeoman\Validation\Validate();

And use:

$validate = new Validate;
$validate->isEmail($email);
$validate->isPhone($phone);
$validate->isPostalCode($postal);
$validate->isZipCode($zip);

About

Nix ancient php Validation Class

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages