Intelephense is a high performance and feature rich PHP language server offering:
Fast camel/underscore case code completion (IntelliSense). Offering detailed suggestions for document, workspace and built-in symbols and keywords. Automatic addition of use declarations.
Detailed signature (parameter) help for document, workspace and built-in constructors, methods, and functions.
Rapid workspace wide go to definition support.
Workspace wide find all references.
Fast camel/underscore case workspace symbol search.
Full document symbol search that also powers breadcrumbs and outline UI.
Multiple diagnostics for open files via an error tolerant parser and powerful static analysis engine.
Lossless PSR-12 compatible document and range formatting. Will format combined HTML/PHP/JS/CSS files too.
Detailed hover with links to official PHP documentation.
Smart highlight of references and keywords.
Reads PHPStorm metadata.
Disable the built-in VSCode PHP Language Features. Extensions -> Search @builtin php -> PHP Language Features -> Disable.
Note that other PHP extensions which provide similar functionality should also be disabled for best results.
Add glob patterns for non standard php file extensions to the files.associations setting. For example, *.module. Settings -> Search files.
View settings for further configuration options. Settings -> Search intelephense.
The language server client (vscode-intelephense) is open source and licensed under the MIT licence. The language server (intelephense) is proprietary. Please see here for details.
Intelephense uses the following open source libraries. Please see the following links for source code and licences.