Back to LSP Servers

php

stdio
php

Used by 6 plugins

Requires Language Server Binary

This LSP server requires phpactor to be installed on your system. Make sure it's available in your PATH before enabling.

Install
1
Run in your terminal
$
npx claudepluginhub piebald-ai/claude-code-lsps
Add to Your Project

Add to your .lsp.json or plugin.json:

{
  "lspServers": {
    "php": {
      "command": "phpactor",
      "extensionToLanguage": {
        ".php": "php",
        ".php3": "php",
        ".php4": "php",
        ".php5": "php",
        ".phps": "php",
        ".phtml": "php"
      },
      "args": [
        "language-server"
      ]
    }
  }
}
Supported Languages
php
.php.php3.php4.php5.phps.phtml
Command
phpactor
Transport
stdio
Arguments
language-server
Advanced Configuration
Restart on Crash:Yes
Max Restarts:3

Initialization Options:

{}

Settings:

{}
Also used by 5 other plugins
intelephense
79
devteam
5
intelephense
2
php-lsp
1
phptools-lsp
0
Plugins using this server (6)
phpactor
262
intelephense
79
devteam
5
intelephense
2
php-lsp
1
phptools-lsp
0
Actions

Product

  • Browse Plugins
  • Marketplaces
  • Pricing
  • About
  • Contact

Resources

  • Learning Center
  • Claude Code Docs
  • Plugin Guide
  • Plugin Reference
  • Plugin Marketplaces

Community

  • Browse on GitHub
  • Get Support

Admin

  • Admin Panel

Legal

  • Terms of Service
  • Privacy Policy
Community Maintained•Not affiliated with Anthropic

© 2025 ClaudePluginHub

ClaudePluginHub
ClaudePluginHub
ToolsLearn
Search everything...