Configure include paths
Include paths are used for holding libraries, that is, third-party code that is used for completion and reference resolution in some functions/methods that use file paths as arguments, for example, require()
or include()
.
Note that the files added via include paths are not meant to be edited within the scope of your project. If you have the existing code that you need to access and modify from within several projects, consider adding it via an additional content root.
Configure include paths
In the Settings dialog (Ctrl+Alt+S) , click PHP.
On the PHP page that opens, configure the list of library folders on the Include path tab:
Use and to add and remove folder paths.
Select a folder and click Exclude to exclude the contents of this folder from indexing.
Last modified: 25 March 2024