How to install PHP LSP
Install the Intelephense executable separately and make it available on the PATH used by Claude Code.
- Install the language server separately and make sure intelephense is available on your PATH.
- Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
- Start a new Claude Code session in a project for the language and open a source file to confirm the server loads.
Claude Code · Install in Claude Code
claude plugin install php-lsp@claude-plugins-officialTry a first task
Open a small PHP service and follow a renamed class from the call site to its definition. Verify that a stale import produces a diagnostic and correcting it clears the error.
Package components
- PHP language server