How to Install Laravel in 2021?

In this blog, we will show you step by step how to install Laravel. To install Laravel, you need to install a Composer. Then you have to open the command prompt and check that the Composer is installed. Now let us run a command in it and install Laravel from it. I will show you step by step everything below so you have an idea of how to install Laravel.

Laravel Installation Step By Step

You must first install Composer to install Laravel

Step 1:- Open Page Then click Download Button.

Step 2:- Click the Composer-Setup.exe link

Download complete Composer-setup.exe

Step 3:- Click Install all Users Link. then click next, next Button.

Step 4:- Select the Location where the php.exe File is located then click the next button.

Step 5:- Click the Finish Button then Finally, Composer installs Done.

Step 6:- Open a command prompt and check that Composer is installed.


Step 7:- Run the following command so that Laravel is installed.

D:\xam\htdocs>composer create-project laravel/laravel example-app

NOTE:- Example – You can specify the name of the app folder you want. I just named the example-app folder to create the demo.

Step 8:- check URL localhost/example-app/public/

Laravel Install

Leave a Reply

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