How to Install Laravel 7
Laravel is a PHP web framework created by Taylor Otwell. Laravel is open source, so it's free to use. Laravel has many features that are very helpful in building a website.

Laravel is a PHP web framework created by Taylor Otwell. Laravel is open source, so it’s free to use. Laravel has many features that are very helpful in building a website.
Preparation
To install Laravel, you need to install several applications first. What are they?
1. Web Server
A web server is software whose function is to receive and serve requests sent by users through a browser, which are then displayed to the user according to the requests sent to the server.
For the application name, I use the XAMPP application. How to download it is very easy, you can visit its official website at XAMPP.
2. Composer
Composer is an application tool used as a connector between PHP and other libraries or packages. For example, if we need a PDF package or library, we can download or add that library to our project with Composer. When you are installing Composer, make sure you are connected to the internet because there is data to be downloaded. How to download the Composer tool can be directly from its official website at Composer.
3. Text Editor
A text editor is an application used to change the code of this Laravel framework. For text editors, you can use Sublime Text, VSCode, Atom, Notepad++, and many more. If you don’t have a text editor yet, please read Best Text Editors for Programming
How to Install
After all preparations are complete, you can now install Laravel. So make sure nothing is missed.
Open Folder
Open the c:/xampp/htdocs
folder using CMD (Command Prompt). For Windows users, you can use the Windows Key + R button then type cmd
. Then the cmd will open.
Then type the following command:
cd c:/xampp/htdocs
Then press enter.
Then type the following command:
composer create-project laravel/laravel namaaplikasi --prefer-dist
Then click the enter button. Make sure you are connected to the internet because something needs to be downloaded.
Wait until the download process is complete. Then type the following command:
cd namaaplikasi
To run it, you just need to type:
php artisan serve
Then check in a browser like Google Chrome, Firefox, or other browsers. Then in the address bar, type the following:
localhost:8000
Then a display like the one above will appear. And you have successfully installed Laravel.