PhpStorm 2016.1 Help

Command Line Tool Support

File | Settings | Command Line Tool Support for Windows and Linux
PhpStorm | Preferences | Command Line Tool Support for IS X
Ctrl+Alt+S

settings

This page shows a list of all PHP-specific and custom command line tools that are currently available at the PhpStorm level.

Use this page to enable integration with third-party PHP command line tools and define your own ones.

ItemTooltip and shortcutDescription
EnabledWhen this check box is selected, the commands defined within the corresponding command line tool can be executed from PhpStorm.
AliasIn this text box, specify the character string to use in command calls instead of the full path to the tool.

By default, PhpStorm assigns the following aliases:

  • s for Symfony.
  • zf for Zend Framework.
  • c for Composer.

Tool PathIn this text box, specify the location of the tool's executable file.
Type This read-only field shows the official name of the third party command line tool.
  1. The field is available only if the Show tool type check box is selected.
  2. For custom command line tools the field is empty.
Show tool type
  • Select this check box to have the Type read-only field shown.
  • Clear this check box to have the Type read-only field hidden.
add Add
Alt+Insert
Click this button to open the Choose Tool to Add dialog box and select the type of command-line tool to enable integration with. The available options are:
  • Custom Tool
  • Zend Framework 1 Tool
  • Zend Framework 2 Tool
  • Symfony
  • Composer
  • Drush
  • Tool based on Symfony Console

Depending on your choice, PhpStorm opens one of the following dialog boxes for specifying the location of the selected tool:

delete Remove
Alt+Delete
Click this button to have the selected tool removed from the list.
edit1Open definition in editorClick this button to have PhpStorm open the .xml file with commands of the selected tool in the editor.
refresh Reload command list from executable Click this button to have PhpStorm refresh the list of commands of the selected tool.
Show console in In this area, specify where you want to enter commands. The available options are:
  • Pop-up - choose this option to have the Command Line Tools Input pane opened in a separate pop-up window 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 encodingFrom this drop-down list, choose the character set to show the tool's output in the Command Line Tools Console Tool Window.

See Also

Last modified: 12 July 2016