PHPackages                             germania-kg/formvalidator - 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. germania-kg/formvalidator

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

germania-kg/formvalidator
=========================

Callable for validating and filtering user inputs with convenient evaluation API.

1.5.1(4y ago)0135MITPHPPHP ^5.6|^7.0|^8.0CI failing

Since Jan 11Pushed 3y ago2 watchersCompare

[ Source](https://github.com/GermaniaKG/FormValidator)[ Packagist](https://packagist.org/packages/germania-kg/formvalidator)[ RSS](/packages/germania-kg-formvalidator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (9)Versions (17)Used By (0)

Germania KG · FormValidator
===========================

[](#germania-kg--formvalidator)

**Callable for validating and filtering user inputs with convenient evaluation API.**

[![Packagist](https://camo.githubusercontent.com/58c34a6e27296aad6427bc8abdd74cbf3bb260e56ac6e9e4c4b3a465ffbaee06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6765726d616e69612d6b672f666f726d76616c696461746f722e7376673f7374796c653d666c6174)](https://packagist.org/packages/germania-kg/formvalidator)[![PHP version](https://camo.githubusercontent.com/1a8e533c22a24443562adb7dbcb6f3746f940e3eb8d67ee01bb4ed5c8bee61db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6765726d616e69612d6b672f666f726d76616c696461746f722e737667)](https://packagist.org/packages/germania-kg/formvalidator)[![Build Status](https://camo.githubusercontent.com/05630a4052cedfa6512f26503350fea1f71e97cb5ff15a56377571fd6f77808d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4765726d616e69614b472f466f726d56616c696461746f722e7376673f6c6162656c3d5472617669732532304349)](https://travis-ci.org/GermaniaKG/FormValidator)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c7405a4b235f2ab0fb096d2134c3a60a00f74a948a806d6328d5d4a4f9561625/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4765726d616e69614b472f466f726d56616c696461746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/GermaniaKG/FormValidator/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/a3e1232cd076fb88ee9446879068df36fd5ce898b2c384fd95f09064be5a7d23/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4765726d616e69614b472f466f726d56616c696461746f722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/GermaniaKG/FormValidator/?branch=master)[![Build Status](https://camo.githubusercontent.com/6dbc0698a41f27e5f43b415cf81853f53728397b7077d51d5e5af2b52e080101/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4765726d616e69614b472f466f726d56616c696461746f722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/GermaniaKG/FormValidator/build-status/master)

Installation with Composer
--------------------------

[](#installation-with-composer)

```
$ composer require germania-kg/formvalidator
```

Form validation
---------------

[](#form-validation)

The validation is done by invoking the object. The `__invoke` method accepts both *Arrays* and `Psr\Http\Message\ServerRequestInterface` instances.

```
