Laravel 7 Install In Ubuntu | Laravel 7 Install Using Composer

Admin   Laravel   179  2021-03-17 18:10:07

Hi Guys,

If you need to see example of install laravel 7 in ubuntu. you can see install laravel 7 in ubuntu 16.04. We will use install laravel 7 in ubuntu 18.04. you can see how to install laravel 7 in ubuntu.

First you can see basic information of what is laravel let's see:

What is Laravel?

Laravel is a free open source PHP framework based on the MVC pattern. It's creatd by Taylor Otwell. Laravel provides expressive and elegant syntax that helps in creating a wonderful web application easily and quickly.

You can follow bellow step to install 7 laravel in ubuntu:

Install Composer

First step, we need to install composer. we must have to install composer in ubuntu system. you can install composer in your ubuntu system by using following command:


curl -sS | php

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

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

Laravel 7 Requirements:

You must have some basic requirement of your ubuntu system. so you can see bellow basic requirement as listed bellow:


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

Now you can run bellow command to install laravel 7 project in your ubuntu system. so let's run bellow command:


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

You can see bellow screen shot of your terminal:

Now it's install completed.

But if you have any permission issue then you can give permission to your storage folder as like bellow:


sudo chmod -R 777 storage

sudo chmod -R 777 bootstrap

Now you are ready to run laravel 7 appliation using serve command:


php artisan serve

Now you can open url as bellow:



You can see layout as bellow:

It will help you...