Open terminal and type
$ sudo apt update
Install apache web server
$ sudo apt install apache2
Check whether apache server is running
$ systemctl status apache2
Install php
$ sudo apt install libapache2-mod-php php php-common php-xml php-gd
php-opcache php-mbstring php-tokenizer php-json php-bcmath php-zip unzip
Install curl & composer
$ sudo apt install curl
$ curl -s5 https://getcomposer.org/installer | php
Check for version
$ composer --version
Install laravel
$ composer global require laravel/installer
Add bin directory to PATH environment through the ~/.bashrc configuration
$ sudo nano ~/.bashrc
Add the following line at the end of the file & save
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
Reload bashrc
source ~/.bashrc
Create your new laravel project
laravel new awesomeapp