Neovim Intelephense

Updated: 03 November 2024

Notes to assist with config and use of the Intelephense PHP LSP:

Neovim LSP log file: ~/.local/state/nvim/lsp.log

https://intelephense.com/

Install on your system npm install -g intelephense but is probably installed by Mason anyway.

See here: ./.local/share/nvim/mason/packages/intelephense/node_modules/intelephense

The root of a PHP project is identified by a .git folder or a composer.json file.

nvim-lspconfig intelephense docs

https://github.com/bmewburn

Perhaps an alternative to Intelephense https://github.com/phpactor/phpactor

Intelephense and Intelephense docs on GitHub https://github.com/bmewburn

Buying a Licence makes most of the LSP warnings disappear!

Try running command :LspInfo