set request laravel code example Example: laravel add request $request->all() + ['index' => 'value'];