Repository navigation
PHP and Blade editing in Orca, backed by PHPantom #599
cris005
started this conversation in
Show and tell
Replies: 1 comment
|
Thanks :) I added it to the docs, also added an entry for the bug regarding hints, I'll try and have that fixed in the next release. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! I made a plugin for Orca that puts PHPantom behind its editor: https://github.com/noppu-labs/orca-phpantom
Orca is a desktop app for running several coding agents at once (Claude Code, Codex and others). The plugin opens
.php,.blade.phpand Drupal's PHP files (.module,.themeand the rest) in a Monaco editor and passes everything tophpantom_lsp --stdio, one server per Composer root.What works so far:
useline, signature help and inlay hintsvendor/too), find references and peekThe framework support is all PHPantom's, so Laravel, Symfony, WordPress, Drupal, Yii 3, Tempest, PHPUnit and Pest work with nothing to switch on in the plugin.
To install it:
Orca lists what the plugin may do and prints an
--approveflag; run the command again with it. Ifphpantom_lsp1.1.0 or newer is on yourPATH, the plugin uses that. If it isn't, the plugin downloads the 1.1.0 release from this repo and checks its SHA-256 before running it.Two things I ran into with 1.1.0 that other client authors might care about:
value:after{{, a0 referenceslens on a line of HTML), so I keep both off there for now.workspace.codeLens.refreshSupportif you show lenses. PHPantom then sends member counts from its cache, or a placeholder and one refresh once they're counted, and you avoid a resolve request per lens.I was quite impressed with how much I could do with PHPantom out of the box! Feel free to check out the plugin. Issues and feedback are welcome on the plugin's repo :)
All reactions