PhpStorm 2019.1 Help

Command Line Tool Support

File | Settings | Command Line Tool Support for Windows and Linux
PhpStorm | Preferences | Command Line Tool Support for macOS
Ctrl+Alt+S the Settings button

PhpStorm supports running commands of popular third-party or user-defined PHP tools: Symfony 1.1+, Symfony2, Zend Framework 1, Zend Framework 2 (ZFTool), Yii, Composer, Drush 5.8+, Laravel and Doctrine (Symfony console-based), WordPress Command Line Interface.

The page shows a list of all PHP-specific and custom command line tools integrated with PhpStorm. Tools with inconsistencies in the xml descriptor are marked with the Warning icon.


Tooltip and shortcut



When the checkbox in this column is selected, the commands defined within the corresponding command line tool can be executed from PhpStorm.


In this field, specify the character string to use in command calls instead of the full path to the tool.

For example, by default, PhpStorm assigns the following aliases: s for Symfony, zf for Zend Framework, and c for Composer.

Tool Path

In this field, specify the location of the tool's executable file.


This read-only field shows the official name of the third party command line tool. The column is available only if the Show tool type checkbox is selected. For custom command line tools, the fields in this column are empty.

Show tool type

If this checkbox 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:

  • Popup: choose this option to have the Command Line Tools Input pane opened in a separate popup and type commands there.

  • Tool window: choose this option to enter commands in the Input field in the bottom of the dedicated Command Line Tools Console tool window.

Console encoding

From this list, choose the character set to show the tool's output in the Command Line Tools Console Tool Window.

the Add button



Click this button to open the Command Line Tools dialog and select the tool to integrate with PhpStorm. Depending on your choice, PhpStorm opens one of the following dialog boxes for specifying the location of the selected tool:

the Remove button



Click this button remove the selected tool from the list.

the Edit button


Click this button to change the definition file of the selected tool.

the Reload command list from executable button

Reload command list from executable

Click this button to refresh the list of commands of the selected tool.

the Edit Source button

Open definition in editor

Click this button to open the xml file with commands of the selected tool in the editor.

Last modified: 26 July 2019

See Also