laravel-permission

Community

Master Laravel RBAC with Spatie's powerful tools.

Authorfusengine
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a robust framework for implementing Role-Based Access Control (RBAC) in Laravel applications, ensuring secure and granular user authorization.

Core Features & Use Cases

  • Role & Permission Management: Define and assign roles (e.g., 'admin', 'editor') and individual permissions (e.g., 'edit articles').
  • Route Protection: Secure your application's routes using middleware based on roles and permissions.
  • UI Authorization: Control visibility of UI elements using Blade directives (@can, @role).
  • Advanced Features: Supports multi-guard systems, teams (multi-tenancy), wildcard permissions, and super-admin bypass.
  • Use Case: Implement a content management system where 'writers' can create and edit articles, 'editors' can publish them, and 'admins' can manage users and settings.

Quick Start

Use the laravel-permission skill to assign the 'admin' role to the current user.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel-permission
Download link: https://github.com/fusengine/agents/archive/main.zip#laravel-permission

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.