65
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.
Before installing, make sure, we have met all prerequisites. Now, use the following command to install laravel installer.
Create Application
It is used to create new laravel application.
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.
Next TopicHow To Install CakePhp In Ubuntu