class 'app http controllers response' not found laravel 8 code example
Example: Class 'App\Http\Controllers\Response' not found
use Response;
Or use full namespace:
return \Response::json(...);
Or just use helper:
return response()->json(...);
use Response;
Or use full namespace:
return \Response::json(...);
Or just use helper:
return response()->json(...);