Install laravel | Ubuntu

Install composer : https://farhan-tanvir-utshaw.medium.com/install-composer-ubuntu-e52cd1c93da2

Now follow from install laravel section from here:

I had trouble getting laravel in command line: it seems it was installed in:

/home/utshaw/.config/composer/vendor/bin

Add this line at the end of ~/.profile:

export PATH=$PATH:/home/utshaw/.config/composer/vendor/bin

Install php zip

First check your php version: php --version

Mine was 7.4 so, ran this:

sudo apt-get install php7.4-zip

Issue: https://stackoverflow.com/questions/64686037/why-do-i-get-a-laravel-error-while-creating-a-new-project/64694433

Solve:

Issue: https://stackoverflow.com/questions/43408604/php7-install-ext-dom-issue

Solve: