Command Line Tool Support: Composer
for Windows and Linux
for macOS
Ctrl+Alt+S
The dialog opens when you click and choose Composer in the Command Line Tools dialog. Use the dialog to configure Composer support in IntelliJ IDEA.
In this dialog, enable the use of Composer Dependency Manager in the command line mode by specifying the way to launch Composer and appointing the file to look for Composer commands in.
IntelliJ IDEA parses the contents of the specified .phar archive or executable file for Composer commands. When the file analysis is completed, IntelliJ IDEA returns to the Command Line Tools Support page where the specified file is added to the list of command line tools available in IntelliJ IDEA.
Item | Description |
---|
Composer.phar or PHP script | Choose this option to launch Composer through a PHP script or have IntelliJ IDEA detect and start the launcher in the composer.phar archive. In this mode, IntelliJ IDEA provides coding assistance and allows you to execute scripts. -
Path to PHP executable: In this field, specify the location of the PHP engine installation folder. -
Path to composer.phar or composer: In this field, specify the location of the composer.phar archive. |
Composer executable | Choose this option to launch Composer through the composer executable file. In this mode, you do not get coding assistance and cannot execute scripts because no PHP engine is appointed for it. In the Path to executable field, specify the location of the composer executable file. |
Last modified: 17 October 2019