PHP Facade Pattern Generator

•
45
•

Generates structural Facade patterns for PHP 8.4 to simplify complex subsystem orchestration and improve code maintainability.

The PHP Facade Pattern Generator is a specialized architectural tool for Claude Code designed to implement the Facade design pattern within modern PHP 8.4 environments. It streamlines the creation of unified interfaces for complex subsystems, such as order processing, notification dispatching, or legacy API wrapping, following Clean Architecture and Domain-Driven Design (DDD) principles. By automating the generation of both the Facade class and its corresponding unit tests, the skill ensures that orchestration logic is isolated in the Application layer, keeping your domain services decoupled and your codebase easier to navigate.

Características Principales

01Built-in guardrails to prevent anti-patterns like 'God Facades' or stateful logic
02Automated PHP 8.4 Facade class generation with constructor property promotion
03Pre-configured unit test generation for orchestration verification
04Intelligent orchestration of multiple domain and infrastructure services
05Strict adherence to Clean Architecture and DDD directory structures
0645 GitHub stars

Casos de Uso

01Simplifying multi-step workflows like order fulfillment involving inventory, payment, and shipping
02Creating a unified notification interface to coordinate email, SMS, and push service providers
03Wrapping complex legacy system APIs to provide a modern, clean interface for new feature development