PHPackages                             candasm/lafres - 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. candasm/lafres

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

candasm/lafres
==============

Simple laravel form request sanitizer

v1.0.0(8y ago)09MITPHP

Since Sep 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/candasm/lafres)[ Packagist](https://packagist.org/packages/candasm/lafres)[ RSS](/packages/candasm-lafres/feed)WikiDiscussions master Synced 2d ago

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

Lafres(Laravel 5 Form Request Sanitizer)
========================================

[](#lafreslaravel-5-form-request-sanitizer)

#### Why I create this package?

[](#why-i-create-this-package)

Sanitizer support does not exists anymore on laravel framework. Actually which is not necessary when there is a validation for form inputs. But when you want a simple functionality for form filtering ups! There is nothing to do rather then write a few lines.

#### What it does?

[](#what-it-does)

Removes form keys which are not returning from rules method.

#### Install

[](#install)

```
$ composer require candasm/laravel-form-request-sanitizer

```

#### How to use it?

[](#how-to-use-it)

Just use `SanitizeWhenResolvedTrait` in your application abstract Request class.

```
