PhpStorm 2017.2 Help

Managing Enterprise Plugin Repositories

To be able to use plugin repositories other than the JetBrains Plugin Repository (e.g., your enterprise plugin repositories), you should specify their URLs in PhpStorm.

Adding repositories

  1. In the left-hand pane of the Settings / Preferences dialog (Ctrl+Alt+S), click Plugins.
  2. Click Browse repositories.
  3. In the Browse Repositories dialog, click Manage repositories.
  4. In the Custom Plugin Repositories dialog, click /help/img/idea/2017.2/new.png and specify the repository URL. Click Check Now to make sure that the URL is correct.

Alternatively, you can add the repositories by editing the PhpStorm custom .properties, or custom .vmoptions file:

  1. Open the file for editing: Help | Edit Custom Properties or Help | Edit Custom VM Options.
  2. Depending on the file, add the following line:
    • idea.plugin.hosts=<URL1>;<URL2>;...<URLn> for the .properies file.
    • -Didea.plugin.hosts=<URL1>;<URL2>;...<URLn> for the .vmoptions file.

Replacing JetBrains repositories with your own ones

If you want to access your corporate plugin repositories instead of the JetBrains repositories from the PhpStorm UI:

  1. Open the PhpStorm custom .properties, or custom .vmoptions file for editing: Help | Edit Custom Properties or Help | Edit Custom VM Options.
  2. Depending on the file, add the following line:
    • idea.plugins.host=<yourRepositoryURL> for the .properies file.
    • -Didea.plugins.host=<yourRepositoryURL> for the .vmoptions file.
  3. Make sure that there is no option that points to http://plugins.jetbrains.com or https://plugins.jetbrains.com.
  4. Restart PhpStorm.

As a result, the specified repository becomes your main plugin repository. You can now add repositories as described in Adding repositories.

See Also

Last modified: 19 July 2017