
Welcome to my course. In this video, you can see what you are going to learn.
Upgrade the Laravel assets from Mix to Vite.
Install the Laravel Breeze package, run breeze:install, and run npm install and npm run dev to enable login and registration screens for your Laravel 9 admin panel.
Create and seed the admin in a Laravel 9 app by defining user-role relationships, generating an admin seeder, and registering an initial admin user with a default role.
Create an admin middleware that checks user roles to grant access to the admin panel, add an isAdmin method to the user model, and register and test middleware in kernel.
Learn to implement delete functionality for roles and permissions in a Laravel 9 admin panel, including destroying records, handling session messages, and updating views and controllers.
Learn how to assign permissions to roles in a Laravel 9 admin panel, including loading all permissions, presenting them in a form, saving choices, and displaying highlighted selections.
Implement the index method in the post controller to display all posts in a table with their titles. Update the admin roles index and layout in preparation for policy-based permissions.
Implement a before policy to grant the admin role all post permissions in Laravel 9, allowing create and delete actions via authorization.
This is the course to take if you want to learn how to add user roles, levels, permissions, and an admin dashboard to your app.
The method I teach in this course will work on any version of Laravel. So, not only will it work on Laravel 9.
Here we are going to create all the work from scratch so without package.
So tag along and let's go for a nice ride!
In this course, you will learn how to create an admin panel with Laravel and Tailwind CSS. Learn how to create roles and permissions. Create Policy and make authorization. You are going to learn also how to create custom blade directives. We are going to create custom middleware for roles and protect routes.
Learn Laravel roles and permissions without packages. We are going to work also with Tailwind CSS and Alpinejs for designin the admin layout dashboard.
Create CRUD for Roles, Permissions.
Create Posts and also create the Post policy to authorize users based on user role permissions. The admin can assign roles to the user and also assign permissions to the role.
Learn Laravel 9 Roles and Permissions without package. Learn how to create admin panel in the easy way.