To create a PHP file:
Go to a navigation view, right-click the project or folder where you want to create the new file.
From the pop-up menu, select New > PHP File (or File | New | PHP File).
Figure: 1 - New PHP File
If not already done - choose a project folder location
Enter the name of the file, including the file extension (for example, newfile.txt).
Click Finish. The file opens in the editor associated with its type.