How add a request item to Backpack-Laravel?
<p>I have to pass the secret <strong>author_id</strong> of the user when he edit for example an Article and memorize that into the Database in Backpack-Laravel.
How can do that?</p>

<p>I be able to do just this, the value appears in the <strong>$request</strong> array (I use dd($request) for know that) but isn't stored on the database.</p>

<p><strong>AuthorCrudController.php</strong></p>

<pre><code>public function update(UpdateArticleRequest $request)
{
    //dd($request); &lt;-- author_id = Auth::id()
    return parent::updateCrud();
}
</code></pre>

<p><strong>UpdateArticleRequest.php</strong></p>

<pre><code>public function rules()
{

    $this-&gt;request-&gt;add(['author_id'=&gt; Auth::id()]);
    return [
        'title' =&gt; 'required|min:5|max:255',
        'author_id' =&gt; 'numeric'
    ];
}
</code></pre>