PHP Layered Architecture Auditor

•
45
•

Enforces architectural integrity and provides implementation patterns for N-tier layered systems in PHP applications.

This skill equips Claude with a comprehensive knowledge base for implementing and auditing Layered Architecture (N-Tier) within PHP environments. It provides standardized patterns for Presentation, Application, Domain, and Infrastructure layers, ensuring strict separation of concerns and adherence to dependency rules. Whether you are refactoring a legacy codebase, building a new DDD-inspired system, or performing an architectural audit, this skill helps identify violations like 'fat controllers' or 'skipping layers' while providing PHP 8.4-ready code templates for DTOs, services, and repositories.

주요 기능

01Strict communication rules defining how layers interact and exchange data.
02Automated architectural audits to detect layer violations and upward dependencies.
03Detailed checklists for verifying layer-specific responsibilities and thin controllers.
04Identification of common antipatterns like anemic services or business logic in repositories.
05Reference patterns for PHP 8.4 Entities, DTOs, and Repository interfaces.
0645 GitHub stars

사용 사례

01Refactoring monolithic PHP controllers into distinct Application and Domain layers.
02Performing code reviews to ensure infrastructure code doesn't leak into the Domain layer.
03Bootstrapping new PHP modules with standardized DDD and Layered Architecture structures.