Yeoman
You can create framework-specific PhpStorm projects using Yeoman.
Before you start
Download and install Node.js.
Install and enable the Yeoman plugin on the Settings/Preferences | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains repository.
To install and configure Yeoman in PhpStorm
In the embedded Terminal (Alt+F12) , type:
npm install -g yo
In the Settings/Preferences dialog Ctrl+Alt+S, go to . On the Yeoman page that opens, specify the location of the globally installed yo package and the local Node.js interpreter to use.
You can also install the yo package on the Node.js and NPM page as described in npm, pnpm, and Yarn.
To configure a list of project stub generators
Click Create New Project on the Welcome screen or select from the main menu. The Create New Project Dialog opens.
In the left-hand pane, choose Yeoman.
The right-hand pane shows all the previously installed Yeoman generators. Click Install Generator.
From the dialog that opens showing all the available generator packages, select the required package in the left-hand pane and click the Install Generator button that appears in the right-hand pane. You can install several packages one after another without leaving the dialog.
When the installation is over, click Close to return to the list of generators which is already expanded with the newly added package.
To create a project by a generator
Click Create New Project on the Welcome screen or select from the main menu. The Create New Project Dialog opens.
In the left-hand pane, choose Yeoman.
The right-hand pane shows all the previously installed Yeoman generators. To expand the list, click Install Generator, see To install and configure Yeoman in PhpStorm above.
Select the required generator from the list and click Next.
Specify the required settings in the New Project wizard that starts. The number of pages and their contents depend on the chosen generator.
On the last page of the wizard, select or clear the Run npm install&bower install checkbox to specify whether you want to run Node Package Manager and Bower to install the packages that are required for developing the new project.
Click Next and choose to open the new project in the current window or in the new one.