Skip to content

Add experimental PHPantom lsp support for PHP - #1554

Merged
MischaPanch merged 2 commits into
oraios:mainfrom
cappuc:feat/php_phpantom
Jun 28, 2026
Merged

Add experimental PHPantom lsp support for PHP#1554
MischaPanch merged 2 commits into
oraios:mainfrom
cappuc:feat/php_phpantom

Conversation

@cappuc

@cappuc cappuc commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

PHPantom is a new language server for PHP written in rust that provides better performance and lower resource utilization that other solutions.

Note

This implementation is done with AI assistance since I'm not a python export. I hope the code is good enough.
I've been testing serena with php_phpantom for a few days on real projects and it seems to work well.

Changes

  • Add php_phpantom as an experimental PHP language backend powered by PHPantom-dev/phpantom_lsp.
  • Wire the new backend into language selection, runtime dependency resolution, and PHP test coverage.
  • Document the new backend in the changelog and PHP language docs.

Testing

  • Added targeted PHPantom integration coverage for diagnostics, symbol lookup, rename behavior, hover fallback, and PSR-4 file renames.
  • Ran the PHPantom test suite and the existing PHP basic/diagnostics suites locally; all passed.

improved implementation

Add PHPantom hover fallback and tests

fix phpantom binary download on linux and macos
@cappuc
cappuc force-pushed the feat/php_phpantom branch from c5bceea to 7e15b49 Compare June 9, 2026 07:19
@MischaPanch

Copy link
Copy Markdown
Member

@cappuc looks good, the AI did a sufficiently good job here. Merging, apologies for the late reaction. Thank you for the contribution!

@MischaPanch
MischaPanch merged commit 91a18eb into oraios:main Jun 28, 2026
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants