Laravel tutorial - Episode 8 - Introduction to Middleware from laravel 8 tutorial Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: This tutorial continues now in another Laravel topic that is the request middleware. Middleware is a class that executes business logic between the route and your controller action, meaning that you can filter your HTTP request to validate business rules or anything you like, giving you the choice to stop and not run your controller action. It can be used for specific interim validations you want to do (e.g. user is authenticated, user has a specific role, etc) or any other logic you would like
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)