Ubuntu Install Laravel

To install Laravel in Ubuntu 20.04, you’ll first need to install composer. To install composer, execute the commands below.

sudo apt update
sudo apt upgrade -y
sudo apt install composer php-zip php-xml -y

I assume you had read through my previous stories on how to install Apache and how to install PHP, directory permission should have been configured correctly.