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/Preferences dialog Ctrl+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
Make sure Phing is downloaded and set up on your computer. If you are using an AMP, the package may already contain Phing.
Install the Phing Support plugin on the Settings/Preferences | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains repository.
Enabling Phing support
Enable Phing support through the project settings
In the Settings/Preferences dialog Ctrl+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 support 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.