Javatpoint Logo
Javatpoint Logo

How to install Laravel in Ubuntu

Introduction

laravel is a PHP based framework. It is used to create web applications. It is based on MVC software architectural pattern. We can run on cross-platform. Here, we will install it on the Ubuntu system. This whole process includes the following steps.

Prerequisites

  • Ubuntu
  • LAMP (Linux Apache MySQL PHP)
  • PHP >= 7.0.0
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • login as a root user into the terminal
  • composer

Install Laravel

Type the following command to terminal to see that composer is installed globally.

Software Laravel 1

Before installing, make sure, we have met all prerequisites. Now, use the following command to install laravel installer.

Software Laravel 2

Create Application

It is used to create new laravel application.

Software Laravel 3

Now change directory into the created application MyLaravel.

laravel provides it's own development server to test application. We can run this server by using following command.

Software Laravel 4





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA