Laravel is one of the open-source PHP frameworks, completely free. However, installing Laravel can be somewhat challenging, especially for those new to PHP programming. To aid PHP learners, the following guide will help you with Laravel installation.
Installing Laravel on a Computer for PHP Programming Learning
Guide to Installing Laravel on PC
To install Laravel on Xampp, you need the following items.
- Software to create a virtual server environment for your computer, WampServer, download WampServer here.
- PHP library management tool Composer, download Composer here.
Step 1: Firstly, we need to install WampServer on the computer. After downloading the file above, open it and click OK to continue the installation.
Step 2: Next, we agree to the terms of the Laravel installation and click Next.
Continue to select Next, here only discusses information about the WampServer software.
Step 3: Choose where to install WampServer, depending on your preference and purpose.
Step 7: Click on Browse to select the PHP path for Composer installation.
Step 8: Navigate to the directory containing the PHP file, which is WampServer that we installed earlier. You can also follow this path: Wamp64 > bin > PHP > select PHP version > php.exe and choose this file.
Afterward, simply click Next until completion.
Step 9: Once you see the Install button, just click on it to proceed with Composer installation.
Step 10: After Composer installation completes, the tool will guide you on how to activate Composer. Simply press Next and follow the instructions provided.
Step 11: Press Finish to conclude the Composer installation process, which will be followed by Composer activation.
Step 12: Firstly, press Windows + R then type CMD into it.
Step 13: Once the black Command Prompt screen appears, leave it as it is and close all other program windows.
Step 14: Open the Start Menu and select Lock to log out of the account or you can also restart your computer.
Step 15: Then you log back into your computer, go to the Wamp folder which is Wamp64.
Step 16: Hold Shift and right-click on a blank space > select Open Powershell Windows here.
Step 17: Inside Powershell, type Composer create-project --prefer-dist Laravel/Laravel
Step 18: Next, open the WampServer program and then go to the web browser that was previously registered, then type localhost/
If the result appears as below, it means the Laravel installation is successful, congratulations.
Above is the guide on how to install Laravel, through which you can see that installing Laravel is not difficult, right? Basically, there are many ways to install Laravel and in this article, we use Xampp to install. This open-source software is very good and using Xampp is also a priority choice you should make.
For beginners in web design, what is the most popular programming language? Try to refer to the most popular programming language through the article below to learn more about the programming world.
