npx claudepluginhub piebald-ai/claude-code-lsps --plugin php-lspThis LSP server requires php-lspto be installed on your system. Make sure it's available in your PATH before enabling.
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"php": {
"command": "php-lsp",
"extensionToLanguage": {
".php": "php",
".php3": "php",
".php4": "php",
".php5": "php",
".phps": "php",
".phtml": "php"
}
}
}
}php-lspstdioInitialization Options:
{
"phpVersion": "8.1",
"diagnostics": {
"enabled": true,
"typeErrors": true,
"arityErrors": true,
"deprecatedCalls": true,
"undefinedClasses": true,
"undefinedFunctions": true,
"undefinedVariables": true,
"duplicateDeclarations": true
},
"excludePaths": []
}Settings:
{}