for Windows and Linux
for macOS
⌘,⌘,⌘,⌥ F7^ ⌥ S
This page appears in the Settings/Preferences dialog box, when the Command Line Tool Support plugin is downloaded, installed and enabled. The plugin is not bundled with IntelliJ IDEA, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.
IntelliJ IDEA supports running commands of popular third-party or user-defined PHP tools:
-
Symfony
, version 1.1 or higher.
-
Symfony2
that incorporates the Twig
template engine.
IntelliJ IDEA supports the official Symfony2 code style for Twig and automatically inserts one space after an opening pair of curvy braces
and before a closing pair of curvy braces in Twig templates: {{ some_variable }}. -
Zend Framework 1
.
-
Zend Framework 2 (ZFTool)
.
-
Yii
.
-
Composer Dependency Manager
.
-
Drush
, version 5.8 and higher.
-
Symfony console-based tools Laravel
and Doctrine
.
These tools are installed through Composer.
-
WordPress Command Line Interface
.
This page shows a list of all PHP-specific and custom command line tools integrated with IntelliJ IDEA.
Tools with inconsistencies in the .xml descriptor
are marked with
.
Note that PHP-specific command line tools work only with local PHP interpreters.
| Item | Tooltip and shortcut | Description |
|---|---|---|
| Enabled | When the check box in this column is selected, the commands defined within the corresponding command line tool can be executed from IntelliJ IDEA. | |
| Alias | In a text box in this column, specify the character string to use in command calls instead of the full
path to the tool.
For example, by default, IntelliJ IDEA assigns the following aliases:
| |
| Tool Path | In a text box in this column, specify the location of the tool's executable file. | |
| Type | A read-only field in this column shows the official name of the third party command line tool.
| |
| Toolbar | ||
![]() | Add ⌘N⌃N⌘N^ N⌥ Insert |
Click this button to open the Command Line Tools dialog box and
select the tool to integrate with IntelliJ IDEA.
Depending on your choice, IntelliJ IDEA opens one of the following dialog boxes for specifying the
location of the selected tool:
|
![]() | Remove ⌘⌦⌘⌦⌥ Delete | Click this button to have the selected tool removed from the list. |
![]() | Edit | Click this button to change the definition of the selected tool. |
![]() | Reload command list from executable | Click this button to have IntelliJ IDEA refresh the list of commands of the selected tool. |
![]() | Open definition in editor | Click this button to have IntelliJ IDEA open the .xml file with commands of the selected tool
in the editor. |
| Show tool type | If this check box is selected, the Type column is added to the table of available tools. | |
| Show console in | In this area, specify where you want to enter commands. The available options are:
| |
| Console encoding | From this drop-down list, choose the character set to show the tool's output in the Command Line Tools Console Tool Window. | |




