Answers for "Controller or its method is not found: \App\Controllers\Api::user"

PHP
0

Class "App\Http\Controllers\Auth" not found

use Illuminate\Support\Facades\Auth;
Posted by: Guest on June-09-2021
0

Class 'App\Http\Controllers\Response' not found

use Response;
Or use full namespace:

return \Response::json(...);
Or just use helper:

return response()->json(...);
Posted by: Guest on June-08-2020

Code answers related to "Controller or its method is not found: \App\Controllers\Api::user"

Browse Popular Code Answers by Language