IntelliJ IDEA

PHP Editor


We've collected some of the most exciting features that, in our opinion, the IDE provides. Just the top of the iceberg. Read the sections below, scan the screenshots and download the product to try it in action.


Intelligent Editor

Web IDE provides rich and intelligent code editor for PHP with syntax highlighting, on-the-fly error checking, and smart code completion.

Thorough source code analysis allows us to provide code completion even to an unannotated code, for example:

  • function return type is deducted from its body and return statements PHP: deduce function return type from return statements
  • class property types (and even declarations) are extracted from constructor code PHP code analysis

File structure view and class, method and call hierarchy views allow for faster code review and navigation.

PHPDoc support

PHPDoc: @property & @method declarations completion & resolution

IDE editor considers PHPDoc for providing code completion based on @property, @method and @var annotations.

Variables name and types are completed when writing PHPDoc.

PHP code refactorings also correct PHPDocs to keep them up-to-date.

PHP Debugging

Web IDE provides numerous options for debugging your PHP code allowing you to:

  • PHP Debugging: smart step intoset conditional breakpoints with smart step into that allows you to choose a particular method to step into from the call chain
  • inspect context-relevant local variables and user-defined watches, including arrays and complex objects, and edit values on the fly
  • evaluate an expression in runtime
  • PHP Debug configuration debug a page in multiple sessions simultaneously
  • keep a debugging session alive while moving between pages

XDebug is currently supported. Zend Debugger planned.

More on PHP Debugger in Web IDE Blog

Refactoring

Rename refactoring works for files, functions, constants, classes, properties, methods, parameters, local and global variables. Make global project changes easily and safely. Local changes are made inplace.

Planned refactorings include: move, pull/push/extract/inline, etc.

PHP Unit Testing Support

Run/Debug PHPUnit tests right from code

Develop PHPUnit tests in Web IDE and run them instantly from directory, file or class using the context menu options.

PHPUnit: Run configuration options

Dedicated Run/Debug
configurations allow to run needed set of tests at any time later.

Tests are executed in a dedicated Test Runner UI displaying results overview and detailed stats for the whole suite and every particular test.

Run/Debug PHPUnit tests right from code

in case of a test failure you can instantly get from the stacktrace to the line of code where the error occurred.

PHPUnit: Navigate from stacktrace to test

to the top