Create New Project Dialog
Use this dialog box to create empty projects or generate framework-specific project stubs for developing applications.
The left-hand pane of the dialog box shows a list of project types for which stubs can be generated. The set of available project types depends on the installed and activated plugins. The contents of the right-hand pane depend on the selected project type. The field Location is common for all project types.
The project types are grouped under the PHP-Specific and Web categories. If you have any project templates saved, they are listed under the User Defined category.
On this page:
PHP empty project
The feature is supported only when the PHP plugin is installed and enabled.
The plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins.
Choose this option to get just a project folder without any contents. In the right-hand pane:
- In the Location text box, specify the path to the project folder where the project-related files will be stored.
- In the PHP Language Level drop-down list, specify the PHP functionality scope to get coding assistance for. Each functionality scope is associated with the PHP version that supports this functionality. Currently PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7, PHP 7.1, and PHP 7.2 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 PhpStorm to provide you with coding assistance that corresponds to a different language level. However, if you attempt to use a code construct that is not supported by the specified language level, PhpStorm suggests a Switch to PHP <version> quick-fix.
- From the Interpreter drop-down list, choose the PHP interpreter to use in the current project by default. The list contains all the currently configured local and remote PHP interpreters. See Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters for details.
- The Include path 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()
, andfile_get_contents()
functions when looking for files to use. - By PhpStorm when resolving references to included files.
Use the Add and Remove buttons to manage the contents of the list. Use the Up and Down buttons to change the order of items in the list.
- By the
PHP-specific project types
Project type | Description |
---|---|
App Engine Project | The feature is supported only when the Google App Engine for PHP plugin is installed and enabled. The plugins are activated by default. If the plugins are disabled, enable them on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to get a project stub for developing applications that will run in the Google PHP Runtime Environment, see Google App Engine for PHP for details. In the right-hand pane:
|
Composer Project | The feature is supported only when the Command Line Tools Support plugin is installed and enabled. The plugins are activated by default. If the plugins are disabled, enable them on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to have a project stub created using the Composer template. In the right-hand pane:
|
Drupal Module | The feature is supported only when the Drupal Support plugin is installed and enabled. The plugins are activated by default. If the plugins are disabled, enable them on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to have a Drupal module created and set up. In the right-hand pane:
|
Joomla! Integration | The feature is supported only when the Joomla! Support plugin is installed and enabled. The plugins are activated by default. If the plugins are disabled, enable them on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to get a project stub for developing an application using the Joomla! content management system. In the right-hand pane:
|
WordPress Plugin | The feature is supported only when the WordPress Support plugin is installed and enabled. The plugins are activated by default. If the plugins are disabled, enable them on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to get a project stub for developing applications using WordPress, see WordPress for details. In the right-hand pane: Type the project location and specify the folder where WordPress is installed. This folder should contain the |
Web
Project type | Description |
---|---|
Angular CLI | The feature is supported only when the NodeJS and AngularJS plugins are installed and enabled. The NodeJS plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. The AngularJS plugin is not bundled with PhpStorm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. Choose this option to get a stub where later you can automatically generate specific structures, such as Classes, Components, Routes, Pipes, Services, etc. using the Angular CLI command line interface. In the right-hand pane:
|
AngularJS | The feature is supported only when the NodeJS and AngularJS plugins are installed and enabled. The NodeJS plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. The AngularJS plugin is not bundled with PhpStorm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. Choose this option to have the project structure set up and some sources generated based on the AngularJS framework template. In the right-hand pane, specify the path to the folder where the project-related files will be stored. |
Foundation | The feature is supported only when the JavaScript Support plugin is installed and enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to have the project structure set up and some sources generated based on the Foundation framework template. In the right-hand pane:
|
Dart | The feature is supported only when the Dart plugin is installed and enabled. The plugin is not bundled with PhpStorm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. Choose this option to have the project structure set up and some sources generated for a Dart application. |
HTML5 Boilerplate | The feature is supported only when the JavaScript Support plugin is installed and enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to have the project structure set up and some sources generated based on the HTML5 Boilerplate template. In the right-hand pane:
|
Meteor App | The feature is supported only when the Meteor plugin is installed and enabled. The plugin is not bundled with PhpStorm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. Choose this option to have the project structure set up and some sources generated based on the Meteor frameworks. In the right-hand pane:
|
Node.js Express App | The feature is supported only when the Node.js plugin is installed and enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to have the project structure set up and some project sources generated based on the Express framework. In the right-hand pane:
|
PhoneGap/Cordova App | The feature is supported only when the PhoneGap/Cordova plugin is installed and enabled. The plugin is not bundled with PhpStorm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. Choose this option to have the project structure set up and some sources generated based on the PhoneGap, Apache Cordova, and Ionic frameworks. In the right-hand pane:
|
React App | The feature is supported only when the JavaScript Support plugin is installed and enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to generate a project using a globally installed create-react-app package, see Generating a React application with create-react-app for details. In the right-hand pane:
|
React Native | The feature is supported only when the JavaScript Support plugin is installed and enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to get a stub for developing a React Native application. In the right-hand pane:
|
Twitter Bootstrap | The feature is supported only when the JavaScript Support plugin is installed and enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to create a project, set up its structure, and generate some sources based on the Twitter Bootstrap template. In the right-hand pane:
|
Web Starter Kit | The feature is supported only when the JavaScript Support plugin is installed and enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins settings page as described in Enabling and Disabling Plugins. Choose this option to create a project, set up its structure, and generate some sources in accordance with the Web Starter Kit requirements. In the right-hand pane:
|
Yeoman | The feature is supported only when the Yeoman plugin is installed and enabled. The plugin is not bundled with PhpStorm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. Choose this option to get interface for generating framework-specific project stubs using the Yeoman tool. The right-hand pane shows all the previously installed Yeoman generators. Select the required generator from the list, click Next, and proceed as described in Creating a Project Using Yeoman Generator. |