home.social

#intelephense — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #intelephense, aggregated by home.social.

fetched live
  1. 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

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

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

  4. vs

    This was a useful summary
    yarnaudov.com/phpactor-vs-inte

    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

    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

  5. #phpactor vs #intelephense

    This was a useful summary
    yarnaudov.com/phpactor-vs-inte

    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

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

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

  8. 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 "intelephense.com/activate" to activate my licence key and fails. I have no problems with curl here. Any ideas?

    #Debian #neovim #intelephense

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

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

  11. @godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)

  12. @godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)

  13. @dantleech @phpactor

    I've set up with (p) and another with (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?)

  14. @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?)

  15. I use as plugin in 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?

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

  17. Trying out , coming from

    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 for 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!)

  18. 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!)

  19. I wanted to test some issues I was having with and core functions. So what do I do? Install and spend most of the weekend trying to understand/configure it so I can use vim there...

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

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

    develop.spacemacs.org/layers/+

    I'm still missing completion and probably some other functionalities I'm unaware of.

    If only I'd find & fix the intelephense issue 🙏 .