Skip to main content
Run any Skill in Manus
with one click

acture-php-strangler

Stars0
Forks0
UpdatedMay 28, 2026 at 16:36

Concrete walk-through for adopting a command-dispatch layer in an EXISTING PHP codebase incrementally — the strangler-fig pattern applied to PHP services, controllers, and Artisan/Console commands. Covers the three phases (Wrap → Enrich → Extract), the additive `#[Command]` + `#[AsMessageHandler]` overlay on existing service methods, feature-flagged surface activation, the per-batch tempo (3–5 candidates at a time), and the deletion conditions that retire the legacy code path. Use after `acture-php` once the project has chosen the strangler-fig path against an existing PHP codebase. Triggers on "migrate PHP to command dispatch", "strangler-fig PHP", "wrap controller as command", "wrap service method as command", "incremental PHP refactor", "retire Tactician", "replace Prooph", "feature-flag command dispatch", "introduce command palette to existing PHP app".

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly