I would like to have controllers in separate directories according modules which belongs to. For example I would like to make structure Controllers/Auth/GithubLoginController.php I have correct namespace for controller App\Http\Controllers\Auth
I have the following route
Route::get('/github/login', 'GithubLoginController@login')->name('github.login');
and this throws me an error:
Class App\Http\Controllers\GithubLoginController does not exist
How to tell Laravel to find the controller inside the auth directory?