Laravel Adicione valores à solicitação
request()->request->add(['index'=>'value']);
MrDracoula
request()->request->add(['index'=>'value']);
//this is my code
this how to add single attribute to the request object in laravel:-
$request->request->add(['car' => 'value']);
this is how to add multiple attributes to the request object in laravel:-
$request->request->add(['car' => 'value', 'end' => 'done']);