php-modernization-skill
PHP 8.x modernization patterns covering typed properties, attributes, enums, and PHPStan integration. Helps Claude upgrade legacy PHP codebases methodically.
Agent Skill that gives Claude expert patterns for modernizing PHP applications to PHP 8.x: typed properties, attributes, enums, PSR/PER-CS compliance, and a PHPStan/Rector/PHP-CS-Fixer static-analysis stack. Ships executable verification tools (verifier, orchestrator, profiler) that emit machine-readable JSON/SARIF/JUnit reports, plus five binding guardrails such as never running Rector without --dry-run. Works with Claude Code, Cursor, and other Agent Skills-compatible agents.
- Upgrade legacy PHP code to modern syntax and type patterns
- Apply static analysis rules consistently during migration
- Modernize attribute usage and error handling across the codebase
PHP 8.x modernization patterns covering typed properties, attributes, enums, and PHPStan integration. Helps Claude upgrade legacy PHP codebases methodically.
PHP developers modernizing legacy applications to PHP 8.x who want Claude to apply upgrade patterns consistently.
https://github.com/netresearch/php-modernization-skill
By netresearch
How to Get It
npx skills add https://github.com/netresearch/php-modernization-skill --skill php-modernization
Tip: Paste this into a Claude Code conversation. Verify command matches your Claude Code version.
After installing, paste this into Claude:
Help me upgrade legacy PHP code to modern syntax and type patterns
Trust Signals Auto-scanned
Reviewer notes
Auto-scanned review. These are observations, not a security certification.
catalog_hygiene stale-eval refresh: Scored from trust signals (evidence-eval-v1): 33 GitHub stars; 2 contributors; last commit 0d ago; license no license.
Things to check
- Requires careful review of generated changes before deployment—automated refactoring can miss domain-specific logic or edge cases. PHPStan rules must be tuned to your codebase to avoid false positives.
How to evaluate tools before deploying →
Data shown here comes from public APIs and automated scanning. Reviewer notes reflect one person's experience. This is not a security certification or legal recommendation. Always evaluate tools according to your own organization's policies.
Evaluation
catalog_hygiene stale-eval refresh: Scored from trust signals (evidence-eval-v1): 33 GitHub stars; 2 contributors; last commit 0d ago; license no license.