Command Line Tool Support: Composer
The dialog box opens when you click the Add button and choose Composer in the Choose Tool to Add dialog box.
In this dialog box, 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 analyses 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.
Integration with Composer is provided at the IntelliJ IDEA level, so once configured, the tool can be used in all your IntelliJ IDEA projects. Just activate or de-activate it when necessary depending on you needs.