laravel-routing

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "laravel-routing" with this command: npx skills add leeovery/claude-laravel/leeovery-claude-laravel-laravel-routing

Laravel Routing

Route configuration with model binding and authorization patterns.

Core Concepts

routing-permissions.md - Route authorization:

  • Route-level authorization with ->can()
  • Web vs API routing patterns
  • Route naming conventions
  • Model binding integration

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

// 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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

laravel-testing

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel-quality

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel-architecture

No summary provided by upstream source.

Repository SourceNeeds Review
General

laravel-multi-tenancy

No summary provided by upstream source.

Repository SourceNeeds Review