IntelliJ IDEA 2016.2 Help

New Project: PHP Empty Project

File | New | Project

Welcome Screen | Create New Project

The dialog box opens when you choose PHP in the left-hand pane of the Project Category and Options dialog box and then choose PHP Empty Project from the list in the right-hand pane.

ItemDescription
Project Name In this text box, specify the name of the project, by default it is the name of the folder specified in the location field.
Project Location In this text box, specify the path to the project folder where the project-related files will be stored.
PHP Language Level In this drop-down list, specify the PHP functionality scope to get coding assistance for. Each functionality scope is associated with PHP version that supports this functionality. Currently PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7, and PHP 7.1 levels are supported.

No correlation between the PHP version used in the project and the language level is enforced. Although the language version of each interpreter is detected automatically, you can still tell IntelliJ IDEA to provide you with coding assistance that corresponds to another language level. However, if you attempt to use a code construct that is not supported by the specified language level, IntelliJ IDEA suggests a Switch to PHP <version> quick-fix.

Interpreter From this drop-down list, choose the PHP interpreter to use in the current project. The list contains all the currently configured local and remote PHP interpreters. See Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters for details.
Include path This area shows a list of paths to PHP-related items below the PHP home directory. The specified include paths will be used:
  • By the require(), include(), fopen(), file(), readfile(), and file_get_contents() functions when looking for files to use.
  • By IntelliJ IDEA when resolving references to included files.

Use the Add new.png  and Remove  delete.png buttons to manage the contents of the list. Use the Up arrowUp  and Down  arrowDown  buttons to change the order of items in the list.

See Also

Last modified: 23 November 2016