Hello Devs,

In this tutorial, we are going to learn how to install laravel 7 in ubuntu.

Install Composer

curl -sS https://getcomposer.org/installer | php

sudo mv composer.phar /usr/local/bin/composer

sudo chmod +x /usr/local/bin/composer

Laravel 7 Requirements:

PHP >= 7.2.5
BCMath PHP Extension
Ctype PHP Extension
Fileinfo PHP extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension

Install Laravel 7

composer create-project --prefer-dist laravel/laravel blog

Run this command:

sudo chmod  -R 777 storage

sudo chmod  -R 777 bootstrap

Now fire this command:

php artisan serve

Open this URL:


I hope this example helps you.