vscode-intelephense

PHP intellisense for Visual Studio Code

Github星跟踪图

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.

  • 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/range formatting. Formats combined HTML/PHP/JS/CSS files too.
  • HTML request forwarding to HTML language servers for complete HTML/JS/CSS/PHP code intelligence.
  • Detailed hover with links to official PHP documentation.
  • Smart highlight of references and keywords.
  • Reads PHPStorm metadata for improved type analysis and suggestions.
  • Easy rename of symbols. When appropriate, files/folders are automatically renamed too. PREMIUM
  • Accurate code folding of definitions, blocks, use declarations, heredoc, comments, and custom regions. PREMIUM
  • Quickly find all implementations of interfaces and abstract classes and associated methods. PREMIUM
  • Fast go to type definition of typed variables and parameters. PREMIUM
  • Fast go to declaration for methods implementing an interface or abstract method declaration. PREMIUM
  • Configurable auto phpdoc creation that infers return types and identifies thrown exceptions. PREMIUM

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.

    Note that other 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

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.

主要指标

概览
名称与所有者bmewburn/vscode-intelephense
主编程语言TypeScript
编程语言TypeScript (语言数: 2)
平台
许可证Other
所有者活动
创建于2017-04-16 14:01:17
推送于2025-04-01 03:01:34
最后一次提交2025-04-01 14:00:43
发布数99
最新版本名称v1.14.4 (发布于 2025-04-01 14:01:01)
第一版名称v0.6.2 (发布于 )
用户参与
星数1.7k
关注者数22
派生数100
提交数613
已启用问题?
问题数3254
打开的问题数506
拉请求数12
打开的拉请求数5
关闭的拉请求数18
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?