Page 1 of 1

PHP Intelephense

Posted: 02 May 2021 15:14
by Rickard Johansson
PHP Intelephense
Intelephense is a high performance, cross platform PHP language server adhering to the Language Server Protocol (LSP).

Install
* Install Nodejs for Windows https://nodejs.org/en/download/
* Install Intelephense

Code: Select all

  From command prompt (as administrator?) run
    >npm install intelephense -g
Add the server in project/sites settings

Server name
PHP Intelephense

Command
intelephense.cmd

Initial folder
<AppData>\Roaming\npm

Command line arguments
--stdio

File extension and language id
.php=php

Communication channel
* Command line (stdio)

Source folders
<Path to the PHP files in your project or site>

Initialize options
{}

Re: PHP Intelephense

Posted: 03 May 2021 20:03
by Rickard Johansson
Updated the information above.