Validation and login

Part 3 of the Laravel course. Validation rules and form requests, the guards that log a user in, a hand-rolled login form, and middleware on routes and groups.

The cards below open the lessons of the part, and the tree lists them in the reading order of the whole course. The previous and the next page at the bottom move through that order.

3.1 Validation How inline validation, form requests, common rules, and custom messages guard Laravel input. Open 3.2 Auth intro What guards are, how the session guard works, and how password hashing fits in. Open 3.3 Hand-rolled login A hand rolled login flow with a Blade form, a credential check, session handling, and logout. Open 3.4 Middleware What middleware is, how the handle method works, and how routes and groups use it. Open

Lessons