PhpStorm 2016.2 Help

Creating and Importing Joomla! Projects

On this page:

Creating a PhpStorm project with Joomla! Intergation support

You can create a PhpStorm project that will be set up and configured in accordance with the Joomla! requirements. This is done by creating a project by a Joomla! Integration template.

  1. Choose File | New Project on the main menu or click the New Project button on the Welcome screen. The New Project Dialog dialog box opens.
  2. In the left-hand pane, choose Joomla! Integration.
  3. In the right-hand pane, in the Location field, specify the folder where the project will be created and provide the following Joomla!-specific information:
    1. Specify the root folder of the Joomla! installation in the Joomla! installation path. Type the path manually or click the Browse button browseButton and select the relevant folder in the dialog box that opens.
    2. Select the desired Joomla! project type (component, module, or plugin).

Importing a Joomla! project

Besides creating a project anew according to the Joomla! template, you can open an existing Joomla! project in PhpStorm. PhpStorm recognizes the Joomla!-specific structure and suggests activating the Joomla! support in project.

  1. Open the folder with the required Joomla! project by choosing File | Open Directory.
  2. As soon as PhpStorm detects the Joomla!-specific structure in the project, the following message is displayed in a pop-up window:
    Click the Enable link.
  3. In a message about the detected PSR roots, choose to configure the roots automatically.
  4. In a message about DocBlock templates, click the link Install.

Note the following:

  • You can update integration settings at any time later in the File | Settings for Windows and Linux or PhpStorm | Preferences for OS X.
  • When using the Joomla! Support pop-up:
    • If you prefer NOT enabling Joomla! support, just ignore the pop-up, and it will vanish.
    • The decision "Do not ask again" is project-wide.
    • You can always enable Joomla! support as described in the section Configuring Joomla! Support.

See Also


Last modified: 2 September 2016