Lapce plugin for the Php language.
Install Intelephense, typically by running:
$ npm i intelephense -g
By default, the Intelephense server path is /usr/bin/intelephense
. To ensure where Intelephense is
actually installed, you can run in a terminal:
$ whereis intelephense
In order to change this setting you can also edit the Lapce settings.toml
file manually by adding:
[lapce-php-intelephense]
"lsp.serverPath" = "/absolute/path/to/intelephense/binary"
If you have an Intelephense licence key, you can enter it in the plugin settings. Reload the plugin to make it effective.
In order to change this setting you can also edit the Lapce settings.toml
file manually by adding:
[lapce-php-intelephense]
licenceKey = "YOUR_LICENCE_KEY"