In this video, you will learn how to use middlewares in Laravel 11. In the latest update of Laravel, a new clean way to use middleware has been introduced. All default middlewares are now available in the framework itself. So, you can access them normally with every request and also create your own middleware.
Timestamps:
00:00 Changes explained
01:39 Create Middleware
03:03 Using Global Middleware
04:06 Using On Specific Route
04:35 Using Aliases for Middleware
05:47 Conclusion
Checkout our projects at GitHub:
https://github.com/webmentordev
VSCode:
● Font: Cascadia Code
● Theme: Obsidian Dark
Personal Tech Stack:
● Laravel, Livewire
● VueJs, NuxtJS
● MySQL, mongoDB, Pocketbase
● TailwindCSS
● LAMP Stack
● Linux, Virtualization, Proxmox
Please Ignore Negative Comments :)