Hey PHP and Intelephense friends - I have a newbie question.

Is there any way to find *all* the problems in my code without manually scrolling through?

For example, I've found this "declared but not used" issue. I want to see all instances of this error across all my project's files.

Is that possible?

#PHP #Intelephense #VSCode

@nemith Thanks for the tip. I have worked with #Neovim for a long time and am therefore quite familiar with it. However, despite having fewer plugins, it has always been considerably slower than #Vim9. Additionally, the LSP architecture is painfully slow and dependent on other language servers running in the background and listening on UNIX sockets. This is acceptable with gopls. Unfortunately, 90% of my work still involves #PHP and all the PHP language servers are poor. #Intelephense, which I purchased, is even proprietary and was often unable to validate my licence.
I was so frustrated that I gave up on Neovim because it offered me no added value compared to Vim 9. Moreover, 89% of what LSPs do can also be provided by #ctags, without the need for a buggy and slow Node.js Language Server.

#phpactor vs #intelephense

This was a useful summary
https://yarnaudov.com/phpactor-vs-intelephense.html

Although last time I did this test phpactor's performance noticeably lagged and that post does not talk about performance at all. I *want* to use phpactor because it's #openSource

Which is best for you and what do you like about it? There's PHPStan too but I'm never sure if that's something different or an equivalent. Boosts welcome

#php #IDE #webDev

intelephense
33.3%
phpactor
33.3%
other (pls. reply)
33.3%
Poll ended at .
Phpactor vs Intelephense [Feature comparison]

Yoan Arnaudov Blog

πŸ€” Looks like I have to write a free, open source PHP language server myself - without php and Javascript of course. PHP really is still an awkward language for professional, modern development... Pity.

#php #intelephense #languageServer #lsp #neovim

Could it be that neovim (v0.10.4 as well as v0.11) on Debian somehow has problems with the LS's it launches to perform web requests?

Intelephense tries to POST "https://intelephense.com/activate" to activate my licence key and fails. I have no problems with curl here. Any ideas?

#Debian #neovim #intelephense

Intelephense -- 404 Not Found

Is there a good way to debug why the intelephense v1.14.3 LS on node v22.14.0 can't activate/check my valid license key in neovim v0.10.4/v0.11 on a fresh Debian? Works on other machines.

My simplified kickstart lua config:
```lua
local servers = {
....intelephense = {
........init_options = {
............licenceKey = 'some valid key',
........},
....}
}
```

#php #intelephense #lsp #neovim #nvim

@ramsey @josejfernandez
I agree on #phpstorm, but #vscode with #intelephense, #php-cs-fixer and #xdebug will get you a long way - that is the combo most of my colleagues use
@godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)

@dantleech @phpactor

I've set up #neovim with #phpactor (p) and another with #intelephense (i) I used Mason to install each.

What I noticed:

- The calculated root_dir fails for (p); it uses PWD

- BOTH give me signature help and completions (p) is slower and seems to crash on providing signatures for completion.

- BOTH let me jump to definition, though (i) is noticeably faster at this.

- Far fewer diagnostics from phpactor (no static analysis? Perhaps I need to add PHPStan as well?)

I use #intelephense as #lsp plugin in #neovim but I think @phpactor has some features it doesn't.

I tried it once before and can't recall why I went back to just intelephense. Possibly CPU/memory limitations.

Can anyone offer a comparison? Perhaps you use them both at once? How does that work out?