Enable Phing support
At the project level, you can enable Phing in the following ways:
Explicitly through the project settings, on the Phing page of the Settings dialog (Control+Alt+S).
When adding a file to the list of Phing build files. A correct Phing build file is an xml file with the root element
<project>
.On the fly, when you attempt to run a build from the editor or from the project tool window.
In either case, the Phing Build tool window becomes available from the menu within the scope of the current project.
Before you start
Install Phing
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.
Press Control+Alt+S to open the IDE settings and select
.Switch to the Marketplace tab and use the search field to find the PHP and Phing plugins.
Click Install and restart the IDE if prompted.
Enabling Phing support
Enable Phing in the project settings
In the Settings dialog (Control+Alt+S), go to .
In the Phing page that opens, specify the location of the phing.bat file in the Path to Phing executable field. Type the path manually or click Browse and choose the file location in the dialog that opens.
Enable Phing from the Phing Build tool window
Open a Phing build file in the editor or select it in the Project tool window.
A correct Phing build file is an xml file with the
<project>
root element.From the context menu of the editor or the selection, choose Add as Phing build file.
In the Phing Build tool window, that opens, click the Settings button on the toolbar.
The button is only available if the list of build files is not empty.
In the Phing Settings dialog, that opens, specify the location of the phing.bat executable file.
Enable Phing on the fly, when attempting to run a build file
Open an Phing build file in the editor.
From the context menu of the editor, choose Run Build File.
In the Phing Build tool window, that opens, click the Settings button on the toolbar.
The button is only available if the list of build files is not empty.
In the Phing Settings dialog, that opens, specify the location of the phing.bat executable file.