How can I sanitize laravel Request inputs?
<p>I have <code>MyRequest.php</code> class extending <code>App\Http\Requests\Request</code>. I want to <code>trim()</code> every input before validation because an e-mail with a space after it does not pass validation.</p>

<p>However <code>sanitize()</code> was removed from <code>src/Illuminate/Foundation/Http/FormRequest.php</code></p>