Skip to content

Add experimental PHPantom lsp support for PHP#1554

Open
cappuc wants to merge 1 commit into
oraios:mainfrom
cappuc:feat/php_phpantom
Open

Add experimental PHPantom lsp support for PHP#1554
cappuc wants to merge 1 commit into
oraios:mainfrom
cappuc:feat/php_phpantom

Conversation

@cappuc

@cappuc cappuc commented Jun 8, 2026

Copy link
Copy Markdown

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
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.

1 participant