LARAVEL

Auth Scaffolding in Laravel 5.2


This is a series of posts that showcase new features and aha moments in Laravel 5.2

1. Implicit Route Model Binding

2. Simplified Eloquent Global Scopes

3. Append Scheduled Tasks Output

4. Form Array Validation

5. Middleware Groups

6. Auth Scaffolding

7.  Api Rate Limiting

8. More helper functions

Laravel 5.2 has come out of beta and is production ready. I will introduce to all the new features it shipped with. :smile:

Authentication in Laravel is already a breeze but Laravel 5.2 now makes it even more cozy.

In Laravel 5.2, you can scaffold the authentication views for your frontend.

1. Install a fresh copy of laravel ( version 5.2 )

2. Run php artisan make:auth via your terminal.

You will see this in your terminal

Out of the box, we have the login, register, welcome, home, reset password pages.

3. Run php artisan serve

Welcome Page

 

Login Page

 

Register Page

 

Even with validation and good error handling enabled!

Password reset page

This just makes application development faster than normal.

Taylor and other contributors, WELL DONE!!!

I remember we had something like this Laravel 4.2 , but it was removed in 5.0. Now it has been restored in a better way.

Please, if you have any questions or observations, let me know in the comments section below.

PROSPER OTEMUYIWA

About PROSPER OTEMUYIWA

Food Ninja, Code Slinger, Technical Trainer, Accidental Writer, Open Source Advocate and Developer Evangelist.