microsoft / microsoft/multilspy
Add Phpactor as alternative PHP language server
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 610
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
Context
PR #140 adds PHP support via Intelephense (npm-based). Intelephense works well but is proprietary (free tier covers core LSP features, premium features like rename/code actions require a $35 license).
Phpactor is a fully open-source (MIT) alternative that supports all LSP features multilspy needs:
- textDocument/definition
- textDocument/references (cross-file)
- textDocument/completion
- textDocument/hover
- textDocument/documentSymbol
- Plus: rename, code actions, go-to-implementation — all free
Trade-offs vs Intelephense
| Intelephense | Phpactor | |
|---|---|---|
| License | Proprietary (free tier) | MIT |
| Install | npm (Node.js) | PHAR download or composer (PHP 8.1+) |
| Rename/code actions | Paid | Free |
| Cross-file refs | Free | Free |
| Runtime dependency | Node.js | PHP 8.1+ |
Implementation notes
- Could be added as or selected via config
- PHAR binary can be downloaded from GitHub releases
- Launches with (stdio by default)
- Requires PHP 8.1+ on the host
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review PR #140's Intelephense integration first, then trace the configuration path and language-server launch entry point in multilspy. Add Phpactor as a selectable PHP server using its stdio startup and PHP 8.1+ requirement; done should include support for the listed LSP operations and the documented installation options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100