PHPackages                             bootpress/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. bootpress/validator

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

bootpress/validator
===================

Form validation that is designed to simplify and work seamlessly with Jörn's jQuery Validation Plugin.

v1.0(9y ago)08862MITPHPPHP &gt;=5.4

Since Oct 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Kylob/Validator)[ Packagist](https://packagist.org/packages/bootpress/validator)[ RSS](/packages/bootpress-validator/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (2)

use BootPress\\Validator\\Component as Validator;
=================================================

[](#use-bootpressvalidatorcomponent-as-validator)

[![Packagist](https://camo.githubusercontent.com/9dba54e60e235cca657f69adafc1f1875ab3f865c1a5ed819d4d67b53a6a37e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626f6f7470726573732f76616c696461746f722e7376673f7374796c653d666c61742d737175617265266c6162656c3d5061636b6167697374)](https://packagist.org/packages/bootpress/validator)[![License MIT](https://camo.githubusercontent.com/a7e65aee57b11d28e4caff8b945729a66be0bb663f7f93bd24c5aa65699f148e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![HHVM Tested](https://camo.githubusercontent.com/3422fab0fbdb2e50d74ced25d6df3e7e1be8b373f48c708a785f247a503409d1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4848564d2d5465737465642d3838393262662e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Kylob/Validator)[![PHP 7 Supported](https://camo.githubusercontent.com/7dae9186d16bac6b5d5cee34d3bec4400516657b575bc1c784125d70a6871126/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504850253230372d537570706f727465642d3838393262662e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Kylob/Validator)[![Build Status](https://camo.githubusercontent.com/9bfe2d760a3efa72e69e1a6b561433649c52f7d5e4e3f95cc1d8e94d8eb9bb36/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4b796c6f622f56616c696461746f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Kylob/Validator)[![Code Climate](https://camo.githubusercontent.com/0c51046e848b1f34f6c6b4ebdc0f7b72026ee9ce3eb44aebbc24a28d433f956c/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f4b796c6f622f56616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/Kylob/Validator)[![Test Coverage](https://camo.githubusercontent.com/c220d2865a9b0733a3ee54340ef12c56dde25c2719defe219ed481f7b445d13f/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f6769746875622f4b796c6f622f56616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/Kylob/Validator/coverage)

Form validation that is designed to simplify and work seamlessly with [Jörn's jQuery Validation Plugin](https://jqueryvalidation.org/). All of the validation routines are designed to match (as closely as possible) those provided by Jörn, so that the browser and server validation routines are in sync with one another.

Installation
------------

[](#installation)

Add the following to your `composer.json` file.

```
{
    "require": {
        "bootpress/validator": "^1.0"
    }
}
```

Example Usage
-------------

[](#example-usage)

```
