php-best-practices

Installation
SKILL.md

PHP Best Practices

Use this skill as a rulebook for building and migrating PHP backend components following TreeNation's DDD architecture.

Workflow

  1. Open AGENTS.md.
  2. Identify which components need to be created or changed (controller, service, DTO, repository, response, test).
  3. Load only the relevant rule files from rules/.
  4. Implement the smallest correct change that satisfies the requirement.
  5. Run PHP CS Fixer and PHPStan before finishing.

Repository Guardrails

Installs
14
First Seen
Feb 26, 2026