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 fu
I used this code to add something to my request.
$req->query->add(['key'=>'variable']); $req->request->add(['key'=>'variable']);