Creating and Importing Joomla! Projects
To have a 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.
Creating a IntelliJ IDEA project from a Joomla! Integration template
Select from the main menu or click Create New Project on the Welcome screen. The Project Category and Options dialog opens.
- On the second page of the wizard, specify the project name, and the folder where it will be created.
Specify the root folder of the Joomla! installation in the Joomla! installation path. Type the path manually or click and select the relevant folder in the dialog that opens.
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 IntelliJ IDEA. IntelliJ IDEA recognizes the Joomla!-specific structure and suggests activating the Joomla! support in project.
Open the folder with the Joomla! project
Choose from the main menu, then select the required folder in the dialog that opens.
Enable Joomla! support in the project
As soon as IntelliJ IDEA detects the Joomla!-specific structure in the project, the following Joomla! Support message is displayed in a popup:
Configure PSR roots
As soon as IntelliJ IDEA detects PSR roots, it displays a message. Choose Automatic configuration.
Install DocBlock templates
Click Install in the popup message that IntelliJ IDEA displays.