PhpStorm 2020.2 Help

Create and import Joomla! projects

To have a PhpStorm project set up and configured in accordance with the Joomla! requirements, you can either create a project by a dedicated Joomla! template or import and existing Joomla! project.

Creating a PhpStorm project from a Joomla! Integration template

  1. Click Create New Project on the Welcome screen or select File | New | Project from the main menu. The Create New Project Dialog opens.

  2. In the left-hand pane, select Joomla! Integration.

  3. In the Location field on the right-hand pane, specify the folder where the project will be created.
    1. Specify the root folder of the Joomla! installation in the Joomla! installation path. Type the path manually or click the Browse button and select the relevant folder in the dialog 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 Joomla! project
    Choose File | Open Directory from the main menu, then select the required folder in the dialog that opens.

  2. Enable Joomla! support in the project

    As soon as PhpStorm detects the Joomla!-specific structure in the project, the following Joomla! Support message is displayed in a popup:

    Joomla Structure Detected

    Click Enable.

  3. Configure PSR roots

    As soon as PhpStorm detects PSR roots, it displays a message. Choose Automatic configuration.

  4. Install DocBlock templates

    Click Install in the popup message that PhpStorm displays.

Last modified: 08 May 2020