When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

Udemy logo

Roles and Permissions in Laravel : A Practical Guide

Learn how to implement roles and permissions in Laravel practically without using any third party packages.

     
  • 4.5
  •  |
  • Reviews ( 2 )
₹519

This Course Includes

  • iconudemy
  • icon4.5 (2 reviews )
  • icon3h 59m
  • iconenglish
  • iconOnline - Self Paced
  • iconprofessional certificate
  • iconUdemy

About Roles and Permissions in Laravel : A Practical Guide

In this course, we will learn to implement

Roles and Permissions in Laravel

without using any third-party packages. The knowledge that you gain here can be applied to any Laravel Project, this approach makes the implementation flexible, and new features can be easily added since we don't depend on any external packages. While implementing the Roles/Permissions functionality, we will learn about the following topics:

Learn how to Define

Reusable Custom Blade directives

Learn how to Implement

Roles/Permissions in a Filament based application

(both frontend and backend)

Learn how to Implement

Roles/Permissions in an Inertia-based application

.

Also, learn how to

use the middleware of Inertia to pass Permission-related data

and implement checks accordingly on the front end.

Create CRUD for TODOs and implement checks accordingly (on both frontend and backend)

Define

Gates using Laravel Middleware

for all the available permissions.

Create Laravel Policies and use Permissions to authorize users.

Define Seeders for Users/Roles/Permissions to ensure that our App works without any issues when deploying it.

Finally, Learn how to implement a flexible solution which makes it easier to scale the system later depending on the needs. Along with the above concepts, we will also:

Learn about the essential VS Code extensions every PHP/Laravel developer must use.

Learn a few tips/tricks along the way

And many more

What You Will Learn?

  • Learn how to Implement Roles/Permissions in a Laravel App without using any packages .
  • Learn how to Define Reusable Custom Blade directives .
  • Learn how to Implement Roles/Permissions in a Filament based application (both frontend and backend) .
  • Learn how to Implement Roles/Permissions in an Inertia based application (both frontend and backend)).