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?

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 .

Picture 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.

Picture 2 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 .

Picture 3 of Instructions on how to install Laravel, supporting web programming.

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

Picture 4 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.

Picture 5 of Instructions on how to install Laravel, supporting web programming.

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

Picture 6 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.

Picture 7 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.

Picture 8 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.

Picture 9 of Instructions on how to install Laravel, supporting web programming.

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

Picture 10 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.

Picture 11 of Instructions on how to install Laravel, supporting web programming.

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

Picture 12 of Instructions on how to install Laravel, supporting web programming.

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

Picture 13 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.

Picture 14 of Instructions on how to install Laravel, supporting web programming.

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

Picture 15 of Instructions on how to install Laravel, supporting web programming.

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

Picture 16 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.

Picture 17 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.

Picture 18 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.

Picture 19 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 .

Picture 20 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).

Picture 21 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/

Picture 22 of Instructions on how to install Laravel, supporting web programming.

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

Picture 23 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.

« PREV POST
READ NEXT »