PhpStorm AI Agent Plugin
An AI agent plugin that integrates PhpStorm with Claude Code and Codex.
Features
Context-Aware Skills
PHP Code Review
Review PHP code using PhpStorm inspections for code quality and best practices.
PHP Project Guide
Foundational PHP project knowledge - setup, structure, standards, and tooling.
Upgrade PHP
PHP upgrade assistant - fix deprecations and scan for compatibility issues.
Automatic Inspection Feedback
- Hook triggers after code edit
- Runs PhpStorm inspections automatically
- Feeds results to Claude or Codex
Prerequisites
- PhpStorm with MCP server enabled
- Claude Code CLI or Codex CLI
curlandjqinstalled- PHP project
Installation
Claude Code
- Add the marketplace to Claude Code:
claude plugin marketplace add jetbrains/phpstorm-claude-marketplace
- Install the plugin:
claude plugin install phpstorm-plugin@phpstorm-marketplace
- Ensure PhpStorm MCP server is installed.
Codex
- Add the marketplace to Codex:
codex plugin marketplace add jetbrains/phpstorm-claude-marketplace
- Install the plugin:
codex plugin add phpstorm-plugin@phpstorm-marketplace
- Ensure PhpStorm MCP server is installed, e.g.:
codex mcp add phpstorm --url 'http://127.0.0.1:64342/stream'
Contributing
Contributions welcome! Please follow existing patterns for hooks and skills, and test with real projects.
For information on creating hooks and skills, see the Claude Code Plugins Reference and Build plugins for Codex.