diff options
Diffstat (limited to 'plugins/php-lsp')
| -rw-r--r-- | plugins/php-lsp/.claude-plugin/plugin.json | 20 | ||||
| -rw-r--r-- | plugins/php-lsp/README.md | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/plugins/php-lsp/.claude-plugin/plugin.json b/plugins/php-lsp/.claude-plugin/plugin.json new file mode 100644 index 00000000..58074269 --- /dev/null +++ b/plugins/php-lsp/.claude-plugin/plugin.json @@ -0,0 +1,20 @@ +{ + "name": "php-lsp", + "description": "PHP language server (Intelephense) for code intelligence", + "version": "1.0.0", + "author": { + "name": "Anthropic", + "email": "support@anthropic.com" + }, + "lspServers": { + "intelephense": { + "command": "intelephense", + "args": [ + "--stdio" + ], + "extensionToLanguage": { + ".php": "php" + } + } + } +} diff --git a/plugins/php-lsp/README.md b/plugins/php-lsp/README.md index 46ebfd93..db1c1f51 100644 --- a/plugins/php-lsp/README.md +++ b/plugins/php-lsp/README.md @@ -2,6 +2,8 @@ PHP language server (Intelephense) for Claude Code, providing code intelligence and diagnostics. +With the plugin enabled and `intelephense` on your `PATH`, Claude Code can use go-to-definition, find references, hover information, and diagnostics in PHP files. + ## Supported Extensions `.php` |
