php-modernization

Installation
SKILL.md

PHP Modernization

Modernize PHP to 8.1-8.5, PSR/PER-CS, PHPStan max, type safety.

Agent contract

  1. Discover: uv run ${CLAUDE_SKILL_DIR}/scripts/introspect.py (cheap), or verify_php_project.py --summary (full, with agent_actions[]).
  2. Drill: ... --check PM-XX per finding. Full output when triaging >3.
  3. Apply: uv run ${CLAUDE_SKILL_DIR}/scripts/modernize_loop.py --mode dry-run. Review transcript before applying.
  4. References: load on demand; do not pre-load.

Reference routing

Installs
128
GitHub Stars
19
First Seen
Jan 25, 2026