IntelliJ IDEA 2023.1 Help

Create and import Joomla! projects

To have an IntelliJ IDEA 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.

Install the PHP and Joomla! plugins

This functionality relies on the PHP and Joomla! plugins that should be installed and enabled in your IDE.

The plugins are available only in IntelliJ IDEA Ultimate.

  1. Press Ctrl+Alt+S to open the IDE settings and select Plugins.

  2. Switch to the Marketplace tab and use the search field to find the PHP and Joomla! plugins.

  3. Click Install and restart the IDE if prompted.

Create a 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 New Project dialog opens.

  2. In the left-hand pane, click PHP from the list, then choose Joomla! Integration in the right-hand pane, and then click Next.

  3. On the second page of the wizard, specify the project name, and the folder where it will be created.

  4. 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.

  5. Select the desired Joomla! project type (component, module, or plugin).

  6. Click Create.

Import a Joomla! project

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

  1. Select File | Open from the main menu, then select the required folder in the dialog that opens.

  2. As soon as IntelliJ IDEA 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 IntelliJ IDEA detects PSR roots, it displays a message. Choose Automatic configuration.

  4. Install DocBlock templates: click Install in the popup message that IntelliJ IDEA displays.

Last modified: 01 August 2022