Laravel 5.6 Setup

Upgrade to Php7.0 from Php7.2
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update 
sudo apt-get install php7.2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-mysql php7.2-mbstring

//To avoid: Laravel5 - new install - MCRYPT_RIJNDAEL_128 notice
sudo apt-get install php7.0 php7.0-mcrypt

Checking requires php extension
Check OpenSSL PHP Extension:

PDO PHP Extension
php -m | grep pdo

Mbstring PHP Extension
php -m | grep mbstring

Tokenizer PHP Extension
php -m | grep tokenizer

XML PHP Extension
php -m | grep 

Ctype PHP Extension
php -m | grep ctype

JSON PHP Extension
php -m | grep json

composer create-project --prefer-dist laravel/laravel love-shop-home

Possible Required Extension
Issue: phpunit/phpunit 7.2.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
Solution: sudo apt-get install php7.2-xml