bmewburn / vscode-intelephense

PHP intellisense for Visual Studio Code
https://intelephense.com
Other
1.56k stars 92 forks source link
code-completion intellisense language-server language-server-protocol php visual-studio-code vscode vscode-extension

Intelephense

PHP code intelligence for Visual Studio Code.

Intelephense is a high performance PHP language server packed full of essential features for productive PHP development.

Licence

Purchase a licence at https://intelephense.com to access PREMIUM features. Licence keys grant a single user access to all current and future premium features on multiple devices forever. Licence keys must be activated (automatically) via https before use. Features not marked as PREMIUM are free and always will be free.

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.

Quick Start

  1. Disable the built-in VSCode PHP Language Features.

    • Go to Extensions.
    • Search for @builtin php
    • Disable PHP Language Features. Leave PHP Language Basics enabled for syntax highlighting.

    Note that other (3rd party) PHP extensions which provide similar functionality should also be disabled for best results.

  2. Add glob patterns for non standard php file extensions to the files.associations setting.

    For example: "files.associations": { "*.module": "php" }.

  3. Optionally purchase and enter your licence key by opening the command pallete -- ctrl + shift + p -- and searching for Enter licence key.

Further configuration options are available in the intelephense section of settings.

Support

Try the Intelephense Documentation.

Found a bug? Got a feature request? Create an issue.

Acknowledgements

A big thank you to supporters who have bought a premium licence and have enabled the continued development and maintenance of this extension.

Intelephense uses the following open source libraries. Please see the following links for source code and licences.