Validate or remove for extra fields in laravel : <p>It's posible to validate request with rules for additional fields, or remove that fields from request?</p>

<p>Simple example, I have FormRequest object with rules:</p>

<pre class="lang-php prettyprint-override"><code>public function rules() {
        return [
            'id' =&gt; 'required|integer',
            'company_name' =&gt; 'required|max:255',
        ];
    }
</code></pre>

<p>And when I get post request with any other fields I want to get error/exception in controller or I want to get only id and company_name fields, with no any others. It's exist any feature in laravel with that, or I must make it in my way?</p>
