Create New Project: Choose Project Directory
On this page of the wizard, specify the location of the files, appoint the project root, and configure the structure of the project to be created. The project root is the folder which is the parent for all the project sources. By default, all subfolders in this folder are treated as sources and their files are involved in indexing, searching, parsing, code completion, etc. Use the icons on the toolbar ro change this status.
If your sources are located in several independent parent folders, create a project in one of these folders and configure other sources as additional content roots on the Directories page of the Preferences dialog box.
|Project root||Select the folder which is the parent for all the project sources and click this icon or choose Project Root on the context menu of the selection. PhpStorm marks the selected folder with the icon and adds the .idea directory with settings to it.|
|Test Sources||Click this icon to have PhpStorm treat the contents of tje selected folder as related to unit testing. Alternatively, choose Resource Root on the context menu of the selection.|
Click this icon to enable PhpStorm to complete relative paths to resources under the selected folder. This means that the contents of the selected folder can be referenced relative to it instead of specifying full paths.
Alternatively, choose Resource Root on the context menu of the selection.
|Excluded||Click this button to have PhpStorm ignore the selected directory during indexing, parsing, code completion, etc. Alternatively, choose Excluded on the context menu of the selection.|