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 .
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.
Step 2: Next, we agree to the terms in the Laravel installation and click Next .
Continue by selecting Next ; this section only provides information about the WampServer software.
Step 3: Choose a location for WampServer. Select a folder that suits your preferences and needs.
Step 4: Finally, click Install to begin installing WampServer.
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.
Step 5: Next, select Next after waiting for the software to install. After this step, we have completed the WampServer installation.
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.
Step 7: Click Browse to select the PHP path for Composer.
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.
Then, the remaining task is to click Next until the end.
Step 9: Once the word " Install" appears , simply click "Install" to begin installing Composer.
Step 10: After installing Composer, the tool will guide you on how to activate it. Just click Next and follow the instructions provided.
Step 11: Click Finish to complete the Composer installation process, then activate Composer.
Step 12: First, press Windows + R and then type CMD .
Step 13: Once you see a black Command Prompt screen, leave it as it is and close all program windows.
Step 14: Open the Start Menu and select Lock to log out of your account, or restart your computer.
Step 15: Then log back into your computer and go to the Wamp folder, which is Wamp64.
Step 16: Hold down Shift , then right-click on a blank space > select Open PowerShell Windows here .
Step 17: Inside this PowerShell interface, type Composer create-project --prefer-dist Laravel/Laravel
Step 18: Next, open the WampServer program, then go to the web browser you registered earlier and type localhost/
If the result shown below indicates that the Laravel installation is complete, congratulations!
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.
- How to install Microweber CMS on CentOS and Rocky Linux
- Steps to Install and Setup Rider: Powerful C#, .Net Programming Tool
- Microsoft is about to stop supporting PHP on Windows
- TOP 9 websites that support online C/C++ programming compilation
- Set of multiple choice questions about programming with P12
- Beginners of computer programming need to focus on what?