By zircote
PHP language server plugin for Claude Code with Phpactor LSP integration and automated hooks for linting, formatting, and testing
A Claude Code plugin providing comprehensive PHP development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install Phpactor LSP
composer global require phpactor/phpactor
# Install development tools
composer global require friendsofphp/php-cs-fixer
composer global require phpstan/phpstan
composer global require squizlabs/php_codesniffer
The plugin configures Phpactor for Claude Code via .lsp.json:
{
"php": {
"command": "phpactor",
"args": ["language-server"],
"extensionToLanguage": {
".php": "php",
".phtml": "php"
},
"transport": "stdio"
}
}
Capabilities:
| Hook | Trigger | Description |
|---|---|---|
php-syntax-check | **/*.php | PHP syntax validation |
php-cs-fixer | **/*.php | Code style formatting |
phpstan-check | **/*.php | Static analysis |
phpcs-lint | **/*.php | PSR-12 compliance |
php-todo-fixme | **/*.php | Surface TODO/FIXME comments |
| Tool | Installation | Purpose |
|---|---|---|
phpactor | composer global require phpactor/phpactor | LSP server |
php-cs-fixer | composer global require friendsofphp/php-cs-fixer | Formatting |
phpstan | composer global require phpstan/phpstan | Static analysis |
phpcs | composer global require squizlabs/php_codesniffer | Linting |
php-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # Phpactor configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ └── scripts/
│ └── php-hooks.sh
├── tests/
│ └── SampleTest.php # Test file
├── CLAUDE.md # Project instructions
└── README.md # This file
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub zircote/lsp-marketplace --plugin php-lspPersistent memory system for AI coding assistants. Captures decisions, learnings, and context from coding sessions and surfaces them when relevant.
Pure filesystem-based memory system for Claude Code with custom ontology support
Rust language server
Comprehensive agent library featuring 115+ specialized Opus 4.5 agents organized by domain
Detect AI-generated writing patterns and build authentic voice profiles through adaptive interviews and computational stylistics
PHP language server
PHP language discipline: conventions, modern idioms, type system, OOP, and testing
PhpStorm plugin for advanced IDE integration
Automatic PHP coding style fixer using nette/coding-standard
Marko LSP bundle (PHP intelephense) for Claude Code.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.