#intelephense — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #intelephense, aggregated by home.social.
-
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?
-
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?
-
@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. -
This was a useful summary
https://yarnaudov.com/phpactor-vs-intelephense.htmlAlthough 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
-
This was a useful summary
https://yarnaudov.com/phpactor-vs-intelephense.htmlAlthough 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
-
🤔 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.
-
🤔 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.
-
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?
-
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',
........},
....}
}
``` -
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',
........},
....}
}
``` -
@godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)
-
@godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)
-
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'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?
-
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?
-
Trying out #helix, coming from #neovim
There's some stuff that looks awesome (multiple cursors, select-within-selection). Some changes will be frustrating due to muscle memory. Some stuff is missing.
At mo, having problems getting helix to recognise that the #lsp #intelephense for #php is actually installed on the system...
Also I've installed as a flatpak and am annoyed I can't type `hx` but have to do `flatpak run com.helix_editor.Helix` (I can alias it, but I need to learn why I need to!)
-
Trying out #helix, coming from #neovim
There's some stuff that looks awesome (multiple cursors, select-within-selection). Some changes will be frustrating due to muscle memory. Some stuff is missing.
At mo, having problems getting helix to recognise that the #lsp #intelephense for #php is actually installed on the system...
Also I've installed as a flatpak and am annoyed I can't type `hx` but have to do `flatpak run com.helix_editor.Helix` (I can alias it, but I need to learn why I need to!)
-
I wanted to test some #vim issues I was having with #intelephense and #WordPress core functions. So what do I do? Install #NixOS and spend most of the weekend trying to understand/configure it so I can use vim there...
-
I wanted to test some #vim issues I was having with #intelephense and #WordPress core functions. So what do I do? Install #NixOS and spend most of the weekend trying to understand/configure it so I can use vim there...
-
🆗 some follow ups. I've uninstalled the #intelephense npm package and I'm now connecting to #lsp provided by #phpactor installed globally.
Sadly I wasn't able to use felixfbecker/language-server (as described in docs) since it's development is discontinued and it is not #php8 compatible.
https://develop.spacemacs.org/layers/+lang/php/README.html
I'm still missing completion and probably some other functionalities I'm unaware of.
If only I'd find & fix the intelephense issue 🙏 .