PhpStorm: easily create new Laravel project

Today I want to tell about another “trick” – or how to create a Laravel project without Command line or Terminal, directly from PhpStorm.

Just go to File -> New Project and in the dialog specify project name and folder, and – most importantly – choose type Composer Project.


Then you will see a new dialog, where you can basically choose any packages that you want Composer to download and install automatically. In this case we choose laravel/laravel (use auto-complete above), and then PhpStorm shows available versions on the bottom right, so we can specify which one we want.


Important things here – you have to specify path to php.exe executable on your computer (at the bottom) and you can also specify where you have composer.phar installed (at the top) – alternatively, it can be downloaded automatically by PhpStorm.

And, basically, that’s it – then PhpStorm downloads all the packages that you listed, then takes care of their dependancies and performs all other necessary operations. See comments at the bottom.





And then – the final result: ta-daaaaa!


So that’s it, another “well hidden” feature of PhpStorm. Laravel is only one way of using Composer project – you can specify more required packages with Laravel, or use your own different package list as a starting point.

Like our articles?
Check out our Laravel online courses!


  1. Since 2012 I am using Laravel for my projects and I just Love it !!! Thanks for sharing such information, Definitely I will try it on PhpStrom, previously I was using command terminal for Creating Laravel Project… Hope we will get more future tips like that….

  2. When I tried running a laravel project that I created using your tutorial, I get this error:

    PHP Fatal error: Class ‘Doctrine\Tests\DoctrineTestCase’ not found

  3. So what’s the story with the parameters given by default? Keep or chuck?

    –no-install –keep-vcs –no-progress –no-interaction –ansi


Please enter your comment!
Please enter your name here