Skip to content
Back to skills

Laravel Routing

ASecurity

Route configuration, route model binding, and authorization. Use when working with routes, route binding, URL patterns, or when user mentions routing, route model binding, conditional binding, route-level authorization.

  • 666 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 9, 2026
developmentphpapi

Works with

  • api

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill laravel-routing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Laravel Routing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Laravel Routing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-laravel-routing/badge)](https://www.skillsdirectory.com/skills/majiayu000-laravel-routing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: laravel-routing
description: Route configuration, route model binding, and authorization. Use when working with routes, route binding, URL patterns, or when user mentions routing, route model binding, conditional binding, route-level authorization.
---

# Laravel Routing

Route configuration with model binding and authorization patterns.

## Core Concepts

**[routing-permissions.md](references/routing-permissions.md)** - Route authorization:
- Route-level authorization with `->can()`
- Web vs API routing patterns
- Route naming conventions
- Model binding integration

**[route-binding.md](references/route-binding.md)** - Route model binding:
- Simple binding strategies
- Conditional route model binding
- ConditionalRouteBinder pattern for route-specific resolution
- Query objects for scoping
- Multi-tenant scoping

## Patterns

```php
// Route with authorization
Route::get('/orders/{order}', ShowOrderController::class)
    ->can('view', 'order')
    ->name('orders.show');

// Conditional binding
Route::bind('order', ConditionalRouteBinder::for(Order::class));
```

Use route-level authorization for permission checks before controller execution.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.