backend-patterns-php

Community

Architect PHP backends with solid patterns.

AuthorTrollHeap
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill guides developers building PHP 8.4+ backend APIs with minimal frameworks, offering architecture decisions, domain patterns, and middleware conventions to deliver maintainable, scalable services.

Core Features & Use Cases

  • Structured project layout for controllers, domain, infra, and middleware.
  • Library choices and wiring guidelines for HTTP, routing, DI, DB, JWT, caching, queues, and rate limiting.
  • Real-world usage patterns: immutable entities, DTOs with validation, repository interfaces, secure filtering, and a robust middleware pipeline.

Quick Start

Set up a PHP 8.4+ project with the recommended project structure, bootstrap services, and run the middleware pipeline to start serving HTTP requests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-patterns-php
Download link: https://github.com/TrollHeap/dotfiles/archive/main.zip#backend-patterns-php

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.