0077-laravel-routing

Community

Secure, resolve, and authorize Laravel routes

AuthorMrJmpl3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the problem of incorrectly configured Laravel routing where route parameters need safe model binding and consistent route-level authorization.

Core Features & Use Cases

  • Route-level authorization: Apply permission checks directly on routes using ->can() to ensure correct 403 behavior before controller execution.
  • Simple and conditional route model binding: Resolve Eloquent models from route parameters, including conditional strategies per route name/pattern.
  • Advanced binding patterns: Use query objects and route-specific resolver logic (e.g., scoping, soft-deletes, multi-tenancy) while keeping controller code clean.

Quick Start

Use the skill to configure route authorization with ->can() and implement conditional route model binding for your Laravel route parameters.

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: 0077-laravel-routing
Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0077-laravel-routing

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.