Just a quick note that Laravel 5.2 now features an artisan command:

php artisan make:auth

This will create the basic views you need for login, registration, and password resets.

You might still want to read through this tutorial, it will give you an idea on how the AuthController works, which is essential later on when you want to modify it. Also, I provide the routes that you will need and we cover the redirectTo property, which will you most likely need as well.

Here is the original tutorial:

User login and registration for laravel 5.1.4 tutorial

In this tutorial, we are going to build the basic user login and registration routes and views. We assume you have a fresh install of Laravel 5.1.4. If you need help setting that up, please reference my Laravel Installation tutorial or visit the laravel.com docs.


You can read complete article here.