Laravel Clean Architecture
CommunityExpert Laravel architecture patterns.
AuthorMte90
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides expert patterns for Domain-Driven Design (DDD), Data Transfer Objects (DTOs), and Ports & Adapters architecture within the Laravel framework, promoting cleaner, more maintainable, and testable codebases.
Core Features & Use Cases
- Domain-Centric Organization: Structures code around business domains for better modularity.
- DTOs for Data Transfer: Ensures type-safe data exchange between layers, avoiding raw arrays.
- Action Classes: Encapsulates single-use-case logic for clarity and testability.
- Repository Pattern: Abstracts data access, decoupling business logic from Eloquent.
- Dependency Inversion: Promotes loose coupling through interface bindings.
- Use Case: Refactor a monolithic Laravel application to adopt clean architecture principles, improving developer productivity and reducing technical debt.
Quick Start
Apply the Laravel Clean Architecture patterns to the 'app/Domains/User' directory.
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 Clean Architecture Download link: https://github.com/Mte90/dotfiles/archive/main.zip#laravel-clean-architecture 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.