File | Settings | Command Line Tool Support
The dialog box opens when you click the Add button and choose Composer in the Choose Tool to Add dialog box.
Use the dialog box to enable the use of Composer Dependency Manager in the command line mode.
Integration with Composer is provided at the PhpStorm level, so once configured, the tool can be used in all your PhpStorm projects. Just activate or de-activate it when necessary depending on you needs.
|Path to composer.phar||In this text box, specify the location of the composer.phar archive. Type the path manually or click the Browse button and choose the desired location in the dialog box that opens. PhpStorm parses the contents of the specified file for Composer commands.|