How to create new laravel project ( new php application )

You need to follow the below steps for creating new laravel project ( or new php application )

Step 1:

Install Composer
Go to https://getcomposer.org/ and download Windows installer.

Step 2:

If your installation is successful, by running composer on command prompt, you will see all kinds of info just by running that command.

Go to folder where you want to install the laravel. Just run below command in your command prompt:
composer create-project laravel/laravel your-project-name

or
<
you can istall Laravel globally. for this open cmd in Windows and enter this command.

composer global require “laravel/installer”

then run the below command for creating project laravel new your-project-name

Leave a Reply

Your email address will not be published. Required fields are marked *