PhpStorm 2018.3 Help

Manage Composer Dependencies Dialog

<context menu of composer.json> | Composer | Manage Dependencies
Tools | Composer | Manage Dependencies

In this dialog box, appoint the packages to be added to the current project.



Available packages

From this list, select the package that you need in your project. The list shows all the available packages; the packages that are already installed are marked with a checkmark. Use the search field, if necessary: start typing the search string, as you type, the list dynamically reduces to show the packages that match the entered pattern. The Description read-only text box briefly explains the functionality of the selected package.

Version to install

From this drop-down list, select the package version. The contents of the list depend on the specific package.


When you click this button, PhpStorm starts downloading the appointed package. When the process is completed, PhpStorm creates a new folder under the vendor node stores the downloaded package in it, and adds the package to the list in the require section of composer.json.


In this area, specify the advanced installation options:
  • PHP interpreter: choose one of the configured PHP interpreters from the list. See Configuring Remote PHP Interpreters for details.

  • Command line parameters: in this text box, type the additional command line parameters. It is recommended to provide the --dev, option: the a dependency in this case is added to the require-dev section of the composer.json file instead of the default require section.

Last modified: 18 March 2019

See Also