Recently I start to use laravel 5.3 to write a blog, but I have a question after run php artisan make:auth
when I run this, it will generate routes in my web.php
this is the code in it:
Auth::routes();
Route::get('/home', '[email protected]');
Then I run php artisan route:list
, I find lots of actions, like [email protected]
But I didn't find these actions in my AppHttpControllersAuth
, where are these?
And also what is the Auth::routes()
stand for, I can't find the routes about Auth.
I need someone help, thank you to answer my question
Auth::routes()
is just a helper class that helps you generate all the routes required for user authentication. You can browse the code here https://github.com/laravel/framework/blob/5.3/src/Illuminate/Routing/Router.php instead.Here are the routes