I need to change value of my request parameter like this:
$request->name = \"My Value!\";
I use
If you need to update a property in the request, I recommend you to use the replace method from Request class used by Laravel
$request->replace(['property to update' => $newValue]);