New Project from Composer

Project template for creating and initializing a new PHP project from with a composer project or a composer package is named PHP Project from Composer.

Open the New Project window in File / New / Project menu, choose PHP Project from Composer, and specify the new project location.

new project from composer

Choose the composer project

The Wizard lets user to choose the composer package, shows the packages inforation, and subsequently searches for other available packages.

composer list

Creating the project files

The next step allows to specify PHP version and project format. See the New Project for details.

Project is initialized from the specified composer package using the composer create-project command.

Note, that specified PHP and composer.phar are both installed automatically if they are not found on the local computer.

Related links