IntelliJ IDEA 2022.2 Help

Create a list of Phing build files

A correct Phing build file is an xml file with the <project> root element. Build files are created outside the Phing Build tool window and are normally stored under your PHP project root folder. Find more about writing Phing build files in Phing Getting Started.

Install the PHP and Phing plugins

This functionality relies on the PHP and Phing 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 Phing plugins.

  3. Click Install and restart the IDE if prompted.

Accessing Phing Build tool window

  1. Open a Phing build file in the editor or select it in the Project tool window, and then choose Add as Phing build file from the context menu of the selection.

  2. Choose View | Tool Windows | Phing Build from the main menu. The tool window can be accessed after you have opened it through the context menu of a Phing build file in the editor or in the Project tool window.

Managing lists of build files

To configure a list of build files, perform these general steps

  1. Open the Phing Build tool window.

  2. To add a build file to the list, click the Add button the Add button on the toolbar and choose the required xml build file in the Select Phing Build File dialog, that opens.

  3. To remove a build file from the list, select the file and click the Remove button the Remove button on the toolbar.

  4. To navigate to the source code of a build file, select the desired file and choose Jump to Source from the context menu of the selection.

Last modified: 01 August 2022