PHPackages                             simple-validator/simple-validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. simple-validator/simple-validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

simple-validator/simple-validator
=================================

Yet another validation class for PHP

1.0.2(8y ago)7241.6k↓18.2%21[1 issues](https://github.com/cangelis/simple-validator/issues)1MITPHPPHP &gt;=5.3.0

Since Jan 23Pushed 8y ago9 watchersCompare

[ Source](https://github.com/cangelis/simple-validator)[ Packagist](https://packagist.org/packages/simple-validator/simple-validator)[ RSS](/packages/simple-validator-simple-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (1)

Simple Validator Documentation
==============================

[](#simple-validator-documentation)

[![Build Status](https://camo.githubusercontent.com/c703ae65a50cb3bbfb21047765f4423e21b078ad48ea0089ebd57a7b8230d2f3/68747470733a2f2f7472617669732d63692e6f72672f63616e67656c69732f73696d706c652d76616c696461746f722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/cangelis/simple-validator)

Validation is the process that checks for correctness, meaningfulness and security of the input data. SimpleValidator is a library that handles validation process easily.

Install
-------

[](#install)

### Including to your current composer.json

[](#including-to-your-current-composerjson)

Add this line into `require` in your ***composer.json***:

```
"simple-validator/simple-validator": "1.0.*"

```

and call

```
php composer.phar update

```

### Installing directly

[](#installing-directly)

Download `composer.phar` and call

```
php composer.phar install

```

and use autoload.php to include the classes

```
require 'vendor/autoload.php'
```

A few examples:
---------------

[](#a-few-examples)

```
