LogoClawIndex
CasesSkillsAbout
LogoClawIndex

laravel-permission - Laravel RBAC by Spatie

Implement role-based access control for Laravel applications

Tags

Updated: 2026-05-28
RBACPermissionsSecurityAuthorizationSpatieLaravelMulti-tenantAccess ControlMiddlewareWildcardsTeamsPolicies

Capabilities

create rolecreate permissionassign roleassign permission

Typical Inputs

Laravel applicationUser modelDatabase

Typical Outputs

Protected routesAuthorized usersRole assignments

What this skill does

  • create role
  • create permission
  • assign role
  • assign permission
  • check permission
  • protect route
  • use middleware
  • reset cache
  • filter users
  • set team context
  • use wildcard
  • handle events
  • create policy
  • run tests

Inputs

  • Laravel application
  • User model
  • Database
  • Route definitions
  • Blade templates
  • API endpoints

Outputs

  • Protected routes
  • Authorized users
  • Role assignments
  • Permission grants
  • Access control
  • Query results
  • API responses

Requirements

  • Laravel 12.46+
  • PHP 8.5+
  • Spatie Permission 6.24+
  • Database

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.