Hi, I found out about this project and I'm trying out Zed with it for the first time, and I'm running into problems.
I downloaded the binary (phpantom_lsp-x86_64-apple-darwin) from GitHub Releases. I'm trying to follow the setup (https://github.com/AJenbo/phpantom_lsp/blob/main/docs/SETUP.md#editor-setup) without success.
It says:
- Open Zed
- Open the Extensions panel
- Click Install Dev Extension
- Select the zed-extension/ directory
Errr, what directory? I can't find it on disk. Oh, it's in the repository. I guess I need to clone the repository instead of downloading the binary? Alright.
I cloned the repository. I clicked on Install Dev Extension and selected the zed-extension from the cloned repo. Zed says:
Error: Failed to install dev extension: failed to compile Rust extension
Not sure how I should continue. Why would it try to compile it? The setup guide says:
The extension automatically downloads the correct pre-built binary from GitHub releases for your platform.
When I read further:
If you'd prefer to use a locally built binary, ensure phpantom_lsp is on your PATH and the extension will use it instead.
Oh, I have that. Moving it into my $PATH. When I try to run it to verify it's in my $PATH with phpantom_lsp, I am presented with macOS screen about malware. So I guess the editor can't run it either. I guess the binary should be notarized or signed or something like that. I went to System Settings -> Privacy & Security and enabled it manually from there. Now I when I try to run it on CLI, it says:
phpantom_lsp
2026-03-28T08:09:36.698006Z ERROR tower_lsp::transport: failed to decode message: missing required `Content-Length` header
Content-Length: 75
{"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error"},"id":null}
So I guess the binary works now. I'm trying Install Dev Extension in Zed one more time, but it still says:
Error: Failed to install dev extension: failed to compile Rust extension
I'd love to try this out, it really sounds like a great project, but it needs a better out-of-the-box experience for people that never tried to use Zed before, and that never compiled Rust on their machines before.
Also, I'm not sure if this is the only thing that I need in Zed for great PHP experience, or if I need this as well:
Thank you.
Hi, I found out about this project and I'm trying out Zed with it for the first time, and I'm running into problems.
I downloaded the binary (phpantom_lsp-x86_64-apple-darwin) from GitHub Releases. I'm trying to follow the setup (https://github.com/AJenbo/phpantom_lsp/blob/main/docs/SETUP.md#editor-setup) without success.
It says:
Errr, what directory? I can't find it on disk. Oh, it's in the repository. I guess I need to clone the repository instead of downloading the binary? Alright.
I cloned the repository. I clicked on Install Dev Extension and selected the zed-extension from the cloned repo. Zed says:
Not sure how I should continue. Why would it try to compile it? The setup guide says:
When I read further:
Oh, I have that. Moving it into my $PATH. When I try to run it to verify it's in my $PATH with
phpantom_lsp, I am presented with macOS screen about malware. So I guess the editor can't run it either. I guess the binary should be notarized or signed or something like that. I went to System Settings -> Privacy & Security and enabled it manually from there. Now I when I try to run it on CLI, it says:So I guess the binary works now. I'm trying Install Dev Extension in Zed one more time, but it still says:
I'd love to try this out, it really sounds like a great project, but it needs a better out-of-the-box experience for people that never tried to use Zed before, and that never compiled Rust on their machines before.
Also, I'm not sure if this is the only thing that I need in Zed for great PHP experience, or if I need this as well:
Thank you.