backend-coding-guidelines
CommunityLaravel 7-layer backend guidelines.
Authorasakuno
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Comprehensive Laravel backend guidelines to ensure clean separation of concerns, prevent fat controllers and models, and promote consistent architecture across projects.
Core Features & Use Cases
- Enforces a 7-layer architecture (Presentation, Request, UseCase, Service, Repository, Model, Resource) specifically tailored for Laravel-native development.
- Promotes Laravel Data DTOs, Repository pattern, and TypeScript type generation to enable strong typing and easier testing.
- Provides naming conventions, layering rules, and security/quality best practices to guide implementation and refactoring.
Quick Start
Create or refactor a backend feature by defining a UseCase with a Repository Interface, a matching DTO, and a FormRequest for validation, then wire it into a Controller.
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: backend-coding-guidelines Download link: https://github.com/asakuno/template-repository/archive/main.zip#backend-coding-guidelines 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 471,000+ vetted skills library on demand.