In Laravel 5.1, the authentication route must be set manually.

In Laravel 5.2, the authentication can be done by issuing php artisan make:auth, it will automatically add route::auth() into your route.php.

In 5.1, the authentication functions are getLogin, postLogin, and getLogout, but in 5.2, the functions are showLoginForm(), login(), and logout().

I thought it was good to point out that in case if you need to add more functionalities for your application’s login process.