PHP LSP Configuration
The details below describe how to install and configure the PHP language server found
here.
IMPORTANT: This language server assumes Node.js has been installed on the machine. To test for this open the command prompt, run the
node -v command and check that the version number output is produced, something similar to this:
v22.13.0
If Node.js is not installed, download and install Node.js from
here.
Installing the Language Server
Install the PHP Language Server using the following command:
npm i intelephense -g
This npm install will create a intelephense.cmd batch file in the Node.js node folder which should also be in tha PATH.
Configuration
Start Zeus and use the
Options, Document Types menu to edit the
PHP document type and in the
Language Server panel apply the following configuration settings:
Program Type: Batch
Program: intelephense.cmd
Directory:
Arguments: --stdio
NOTE: The directory value is only required if the location of the intelephense.cmd file has not been added to the system PATH.
Using the Language Server
To test the configuration create a simple test.php file and fire off an autocomplete request:
In addition to code completion, code navigation, function signatures and document hover will also work.
Shown below is an example of the document hover feature.
Released: 2nd January 2026