About the Book
In Laravel implementing authentication is very simple. In fact, almost everything is configured for you out of the box.
Only two commands can take care of scaffolding your entire authentication system in Laravel 5.7. However, that is not enough for a learner to manage any complicated web application. Here you will learn all the lessons regarding Middleware, Authentication and Authorizations to master Laravel.
You will learn how at its core, Laravel's authentication facilities are made up of "guards" and "providers", and how they work at tandem to make your application smooth. Besides, you will have a clear conception about model relations, Eloquent ORM, resourceful controllers, partial views and usages of Faker objects.
While learning Authentication, you also understand the role of Middleware. Understanding how it provides a convenient mechanism for filtering HTTP requests entering your application is also very important. For example, Laravel includes a middleware that verifies the user of your application is authenticated. If the user is not authenticated, the middleware will redirect the user to the login screen. However, if the user is authenticated, the middleware will allow the request to proceed further into the application.
How this user-friendly and elegant mechanism works, is explained in great detail, keeping in mind that the reader could be at the beginner's stage.
About the Author
Sanjib Sinha has written six books for Apress; he also publishes at Leanpub and Amazon to share his learning-experience. Sanjib writes regularly at his websites: https://sanjibsinha.com on Flutter, Dart and PHP 8.