talira

Intelephense

Code intelligence for productive PHP developers

commercial softwarefree

Intelephense is a high-performance PHP language server that works with any editor that speaks the Language Server Protocol. Its free features cover code completion, signature help, go to definition, find all references, symbol search, hover, diagnostics, formatting and embedded languages (HTML, JavaScript and CSS in PHP files), with a type system that reads PHPDoc annotations and narrows types. A one-time licence adds premium features: rename, code folding, find all implementations, go to type or declaration, smart select, code actions, code lens, type hierarchy, inlay hints and document links. VS Code users install its official extension; other editors run the server from npm (npm i intelephense -g, which needs Node.js) through their LSP client. The server is proprietary, released under a freemium licence; the VS Code client is MIT licensed.

Problems it solves

  • PHP autocompletion and go to definition in VS Code
  • a PHP language server for Neovim or Sublime Text
  • find all references to a PHP class across my project
  • rename PHP symbols safely across a codebase in my editor

Features

  • code completion and signature help
  • go to definition and find all references
  • diagnostics and formatting
  • embedded HTML, JavaScript and CSS
  • type inference with PHPDoc annotations and type narrowing
  • premium: rename, code actions, code lens, inlay hints, type hierarchy
  • works in any LSP editor; official VS Code extension

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Intelephense does.

  1. gopls The language server for Go
  2. clangd clangd understands your C++ code and adds smart features to your editor
  3. rust-analyzer Bringing a great IDE experience to the Rust programming language
  4. Metals Scala language server with rich IDE features
  5. PowerShell Editor Services The PowerShell language server and debug adapter for any editor
  6. Java Language Server A Java language server built on the Java compiler API, for VS Code, Vim, Emacs, Kate and Sublime

Compare Intelephense with the top 3