PHP Intelephense

Tips and information on how to install and use language servers with the editor.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 6168
Joined: 19 Jul 2006 14:29

PHP Intelephense

Post 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
{}

User avatar
Rickard Johansson
Site Admin
Posts: 6168
Joined: 19 Jul 2006 14:29

Re: PHP Intelephense

Post by Rickard Johansson »

Updated the information above.

Post Reply