Laravel 8 Livewire Tutorial (Building a Simple CMS) : User Access Roles Laravel Middleware (part10)
In this laravel 8 livewire tutorial series, we will build a simple CMS (Content Management System) using laravel 8 with livewire. In this video, we will add the user access roles feature by adding our custom laravel middleware. A user access roles feature handles the permission of a specific user on the pages or resources that a user could only have access to. With Laravel middlewares, we can easily attach this logic to a specific route in our application. This laravel 8 livewire tutorial series will help you build a simple CMS (Content Management System) using laravel 8.
Versions:
Laravel 8
Livewire 2
Timeline:
1:25 - Create and run migration file for the newly added column role in the users' table
2:44 - Create middleware for the user access roles feature
3:32 - Register the newly added middleware to the Kernel.php file
4:10 - Add role to the fillable property of the User model
4:53 - Add user access role middleware to the routes/web.php file
5:35 - Add the full logic to the user access roles middleware class file
Previous Video: Understanding the Basics of Alpine JS (part9)
https://www.youtube.com/watch?v=A8Tc652gs2E
Next Video: Create Custom Command Livewire CRUD Component
https://www.youtube.com/watch?v=2ZVpKXrr09Y
Github Repo:
https://github.com/jackoftraits/laravel8-with-livewire
Download VS Code:
https://code.visualstudio.com
Tailwind:
https://tailwindcss.com
Sound: www.bensound.com
#laravelLivewire #laravel8 #livewire
Other Videos By Sentgine
Other Statistics
Live Wire! Statistics For Sentgine
Currently, Sentgine has 272,446 views for Live Wire! across 24 videos. There's close to 7 hours worth of content for Live Wire! published on his channel, or 47.23% of the total watchable video on Sentgine's YouTube channel.