/lapce-php-intelephense

Lapce plugin for the Php language.

Primary LanguageRustApache License 2.0Apache-2.0

lapce-php-intelephense

Lapce plugin for the Php language.

Prerequisites

Install Intelephense, typically by running:

$ npm i intelephense -g

Settings

Settings: Intelephense server path

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"

Settings: licence key

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"