How to Install Laravel Framework in Windows

Laravel is an open-source type framework. Further, it is available for free. In addition, this uses the Composer for dependencies. So, it has a number of benefits for the users. Users have many advantages with its use. But, many of them don’t know ‘How to Install Laravel Framework in Windows?’. We are here for them. We are providing thorough information about the same. You should make use of it for your system. So, let’s have a look at ‘How to Install Laravel Framework in Windows?’.

How to Install Laravel Framework in Windows?

There are various benefits of making use of this framework. Moreover, you can apply it to your system. Thus, it becomes necessary to know ‘How to Install Laravel Framework in Windows?’. Thus, we are providing comprehensive data about it. You should grasp this knowledge. On the other hand, you should be ready to grab this opportunity. Let’s start this amazing journey.

Process Used to Install Laravel Framework in Windows

There is a certain process to follow to get the required result. So, you should go through them for better results.

Installing XAMPP

It is necessary to install XAMPP to proceed further. So, follow the steps given below to do so.

Step – 1 ) Visit the ‘Apache Friends Website’

You should visit the ‘Apache Friends Website’ to download XAMPP.

How to Install Laravel Framework in Windows step 1

Step – 2 ) Click on the Download Option

After that, select the downloading option for the further process.

XAMPP Downloading window

Step – 3 ) Select the ‘Next’ Option

In addition to he above, double-click on the file to run it. Moving ahead, you should select the ‘Next’ option.

setup window display

Step – 4 ) Component Selection

Now, you should select the components for the desired purpose. Then, select the ‘Next’ option.

component selection window

Step – 5 ) Select the ‘Installation Folder’

Further, you should select the ‘Installation folder’ to move ahead. By doing so, you should click on the ‘Next’ option.

selecting installation folder window

Step – 6 ) Language Selection Phase

Now, it is time to select the language. So, choose the language for your working purpose. Then, click on the ‘Next’ option.

language selection window

Step – 7 ) Unchecking the ‘Learn more’ Option

Further, uncheck the box containing ‘Learn more about Bitnami for XAMPP’. Then, click on the ‘Next’ button.

XAMPP learn more window

Step – 8 ) Finish the Setup

The installation starts from here. On this stage, click on the ‘Finish’ option on the bottom-side of the window.

finishing setup window

Step – 9 ) Starting the XAMPP

Now, your XAMPP is ready to use. You can use it for various operations you want.

XAMPP starting window

Thus, XAMPP gets installed.


Downloading & Installing Composer

It is very essential to download & install the composer for this framework. So you should follow the steps below to so.

Step – 1 ) Visit the Official Website

The first thing you should do is to visit the official website. (https://getcomposer.org/). After that, download the ‘Composer-Setup.exe’ file for further process.

How to Install Laravel Framework in Windows step 2

Step – 2 ) Run the Downloaded File

Moving ahead, you should run the file. For that, you should double-click on the file. Then, select the ‘Next’ option on the bottom side of the window.

composer setup window
Image Source: makitweb

Step – 3 ) Browse & Select the ‘Next’ Option

In addition to the above, click on the ‘Browse’ option to select the php.exe location. Then, click on the ‘Next’ option.

composer setup browse window
Image Source: makitweb

Step – 4 ) Proxy Settings Segment

Now, click on the ‘Next’ option on the proxy settings window.

proxy settings window
Image Source: makitweb

Step – 5 ) Select the ‘Install’ Option

Further, click on the ‘Install’ option on the window. By doing so, it starts installing.

installation window
Image Source: makitweb

Step – 6 ) Select the ‘Finish’ Option

In the end, select the ‘Finish’ option to complete the setup process.

setup finish window
Image Source: makitweb

You will see the directory structure after installation as like below.

Image Source: makitweb

Developing Segment

After the above process, go for the developing segment. For that, you should make use of the command prompt window. So, follow the steps below to do so.

Step – 1 ) Open the ‘Command Prompt Window’

You should navigate to the project directory (laravel_project). Then, run PHP artisan serve. This will lead to starting the process of developing the server.

command prompt window
Image Source: makitweb

Step – 2 ) Testing Phase

In a browser, run ‘localhost:8000’ to see the output.

framework testing window
Image Source: makitweb

In this way following the above-mentioned methods, you can install Laravel Framework in Windows.