Roles And Permissions In Laravel : A Practical Guide

Posted By: ELK1nG

Roles And Permissions In Laravel : A Practical Guide
Published 11/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 242.45 MB | Duration: 0h 41m

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

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))

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 directivesLearn 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 Permissions related data and implement checks accordingly on the Frontend.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.And finally, Learn how to implement a flexible soultion 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 wayAnd many more

Overview

Section 1: Introduction

Lecture 1 Introduction

Section 2: Implementing Roles & Permissions in a Laravel/Blade Project

Lecture 2 Installation and Project Setup

Lecture 3 Define the Models/Migrations/Pivot tables for Roles/Permissions

Lecture 4 Define the Relationships on respective models

Lecture 5 Define the Seeders for Roles/Permissions/Pivot Tables

Lecture 6 Work on Todos CRUD

Lecture 7 Define Middleware to Register Gates

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