In Laravel is there a way to add values to a request array?
<p>I come across a situation in Laravel while calling a store() or update() method with Request parameter to add some additional value to the request before calling Eloquent functions is there any way for that.</p>

<pre><code>function store(Request $request) 
{
  // some additional logic or checking
  User::create($request-&gt;all());
}
</code></pre>