Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Roles and Permissions in Laravel : A Practical Guide
Rating: 3.5 out of 5(2 ratings)
33 students

Roles and Permissions in Laravel : A Practical Guide

Learn how to implement roles and permissions in Laravel practically without using any third party packages.
Created byTapan Sharma
Last updated 4/2024
English

What you'll 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))

Course content

4 sections34 lectures3h 59m total length
  • Introduction2:53

Requirements

  • Basic Knowledge of Laravel
  • Server Environment to run Laravel apps (like PHP, Mysql, Composer) should be Installed

Description

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

Who this course is for:

  • Laravel developers who want to implement Roles/Permissions in their Laravel Apps