how to use response class in controller page in laravel 8 code example
Example: laravel return response view
return response()->view('your_view', compact('variableName'));
return response()->view('your_view', compact('variableName'));