Lamp stack includes software like Linux OS, Apache Server, MySQL Database, and PHP scripting language.
Before installing Laravel, you need to make sure that you have installed PHP, Server [Apache or Nginx], and Composer.
Installing Laravel
Create a new directory for your new Laravel project somewhere in your system. After that, go to the path where you created the new directory and enter the following command there to install Laravel.
composer create-project laravel/laravel –-prefer-dist
This will install the latest version of laravel in the current directory.
OR
You can define the directory name for your project.
composer create-project laravel/laravel your-project-name
The composer
will install all the dependencies required for laravel. Once the process is completed you can start the Laravel service by executing the following command.
php artisan serve
Now open a browser and enter this URL
http://localhost:8000
You will see page like below.
Hope this has helped you.