Clear, practical technology insights About · Contact

Instructions on how to install Laravel, supporting web programming.

For those learning programming, Laravel is a must-know. So, how do you install Laravel on your computer, run web applications smoothly, and help you learn and practice effectively?

Author: Kareem Winters4 minutes read
Table of Contents

Laravel is one of the open-source and completely free PHP frameworks; however, installing Laravel can be somewhat difficult for many people, especially those new to PHP programming . To help those learning PHP learn better, the following guide will show you how to install Laravel .

images 1 of Instructions on how to install Laravel, supporting web programming.

How to install Laravel on a computer for learning PHP programming.

 

To install Laravel on XAMPP, you need the following:

- WampServer is software that creates a virtual server environment for your computer; download WampServer here.

- Composer is a PHP library management tool; download Composer here.

Step 1: First, we need to install WampServer on our computer. After downloading the file above, open it and click OK to continue the installation.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 2: Next, we agree to the terms in the Laravel installation and click Next .

images 1 of Instructions on how to install Laravel, supporting web programming.

Continue by selecting Next ; this section only provides information about the WampServer software.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 3: Choose a location for WampServer. Select a folder that suits your preferences and needs.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 4: Finally, click Install to begin installing WampServer.

images 1 of Instructions on how to install Laravel, supporting web programming.

Please note that during the WampServer installation process, you will be asked which browser you want to use as the default ; if you don't select one, IE will be set.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 5: Next, select Next after waiting for the software to install. After this step, we have completed the WampServer installation.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 6: Now we proceed to install Composer by opening the downloaded file and selecting Next . This is an important step if you want to install Laravel.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 7: Click Browse to select the PHP path for Composer.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 8: Here you navigate to the path containing the PHP file, which is the WampServer we installed earlier. You can also follow this path: Wamp64 > bin > PHP > select the PHP version > php.exe and select this file.

images 1 of Instructions on how to install Laravel, supporting web programming.

Then, the remaining task is to click Next until the end.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 9: Once the word " Install" appears , simply click "Install" to begin installing Composer.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 10: After installing Composer, the tool will guide you on how to activate it. Just click Next and follow the instructions provided.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 11: Click Finish to complete the Composer installation process, then activate Composer.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 12: First, press Windows + R and then type CMD .

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 13: Once you see a black Command Prompt screen, leave it as it is and close all program windows.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 14: Open the Start Menu and select Lock to log out of your account, or restart your computer.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 15: Then log back into your computer and go to the Wamp folder, which is Wamp64.

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 16: Hold down Shift , then right-click on a blank space > select Open PowerShell Windows here .

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 17: Inside this PowerShell interface, type Composer create-project --prefer-dist Laravel/Laravel (This is Taimienphivn).

images 1 of Instructions on how to install Laravel, supporting web programming.

Step 18: Next, open the WampServer program, then go to the web browser you registered earlier and type localhost/ /public/

images 1 of Instructions on how to install Laravel, supporting web programming.

If the result shown below indicates that the Laravel installation is complete, congratulations!

images 1 of Instructions on how to install Laravel, supporting web programming.

Above is a guide on how to install Laravel. As you can see, installing Laravel isn't difficult, right? Basically, there are many ways to install Laravel, and in this article, we use Xampp . This open-source software is excellent, and using Xampp is a preferred option.


For those new to web design , what are the most popular programming languages? Check out the most popular programming languages ​​today in the article below to learn more about the world of programming.

Was this article helpful?

Your feedback helps us improve.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.