PHPackages                             bdbch/vivalidator - 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. bdbch/vivalidator

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

bdbch/vivalidator
=================

Data validation library for simple input validations

0.2.1(7y ago)060[1 issues](https://github.com/bdbch/vivalidator/issues)MITPHP

Since Aug 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bdbch/vivalidator)[ Packagist](https://packagist.org/packages/bdbch/vivalidator)[ RSS](/packages/bdbch-vivalidator/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (6)DependenciesVersions (12)Used By (0)

[![Screenshot of a form validated with Vivalidator](screenshot.png)](screenshot.png)

Vivalidator
===========

[](#vivalidator)

> A simple and easy input and data validation library

Why?
----

[](#why)

I dislike the way of using Wordpress Plugins or heavy PHP packages for form development when it comes to Wordpress forms. I hate when third party code adds markup to your page or narrows my possibilites because of some restrictions coming with the external code. Thats why I started looking for easy to use validation frameworks but didn't find anything that perfectly fits my needs. This is why I started development on Vivalidator.

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

[](#installation)

#### The Composer Way

[](#the-composer-way)

Run `composer require bdbch/vivalidator` in your project folder to install Vivalidator via Composer. It will be automatically placed into your autoload.

#### Manual Way

[](#manual-way)

Make sure to have all necessary files copied manually into your project. Require the desired library from the `src` folder in your code to get access to a Vivalidator Class.

Usage
-----

[](#usage)

Using the Validator is simple. Check out this example code to get an idea on how to use this feature.

```
