php-modernization plugin
PHP 8.x modernization patterns for upgrading legacy PHP applications. Covers constructor property promotion, readonly classes, enums, attributes, generics via PHPDoc, PHPStan level 9+ compliance, and Symfony best practices. By Netresearch.
How to install the php-modernization plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install php-modernization@netresearch-claude-code-marketplaceUpdate, turn off or remove
- Update the plugin (shell)
- claude plugin update php-modernization@netresearch-claude-code-marketplace
- Refresh the marketplace
- /plugin marketplace update netresearch-claude-code-marketplace
- Turn it off for now
- /plugin disable php-modernization@netresearch-claude-code-marketplace
- Remove it
- /plugin uninstall php-modernization@netresearch-claude-code-marketplace
php-modernization plugin questions
How do I install the php-modernization plugin?
In Claude Code run /plugin marketplace add netresearch/claude-code-marketplace, then /plugin install php-modernization@netresearch-claude-code-marketplace.
How do I update or remove the php-modernization plugin?
Update it with claude plugin update php-modernization@netresearch-claude-code-marketplace in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall php-modernization@netresearch-claude-code-marketplace.