laravel-controllers
CommunityThin HTTP controllers with no domain logic.
Authornextplus896
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces a strict boundary between the HTTP layer and domain logic by ensuring controllers remain thin and free of business rules, reducing coupling and improving testability.
Core Features & Use Cases
- Thin HTTP layer: controllers handle HTTP concerns only and delegate domain logic to actions.
- Clear separation: encourages a clean boundary between web/API layers and business logic.
- Consistent RESTful patterns: guides on RESTful method usage, naming, and route integration.
- Real-world scenarios: demonstrates how to refactor existing controllers to call Actions.
Quick Start
Create a Laravel controller that delegates all business logic to Actions and returns a Resource or Redirect.
Dependency Matrix
Required Modules
None requiredComponents
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-controllers Download link: https://github.com/nextplus896/durra-alaseel/archive/main.zip#laravel-controllers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.