Laravel return Reption View
return response()->view('your_view', compact('variableName'));
Viruscom1000
return response()->view('your_view', compact('variableName'));
return response()->view('your_view', compact('variableName'))->header('Content-Type', 'application/xml');