Use when modernizing PHP code: PHP 8.1-8.5 features, PSR/PHP-FIG/PER-CS compliance, PHPStan/Rector/PHP-CS-Fixer/PHPat tooling, DTOs/enums/readonly/property hooks, type safety. Triggers: PHP modernization, type safety, PHPStan, Rector, PHP-CS-Fixer, enum, DTO, readonly, strict_types, property hooks, PHP 8.4, PHP 8.5.
$npx -y skills add netresearch/php-modernization-skill --skill php-modernizationInstalls into the current project.
Run `npx skills use "https://github.com/netresearch/php-modernization-skill" --skill "netresearch/php-modernization-skill/php-modernization"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/netresearch/php-modernization-skill" that are relevant to the current task. Run `npx skills add "https://github.com/netresearch/php-modernization-skill"` and select the relevant skills, then follow their instructions.