Laravel Tutorial Day 1

PHP Laravel Tutorial

Learning Objectives: To understand the fundamental about PHP Laravel, Installation and Hello World Example.

Install LAMP into Ubuntu

Reference Website to Install Composer in Ubuntu

sudo apt update

sudo apt install php-cli unzip

cd ~
curl -sS -o composer-setup.php

sudo php composer-setup.php –install-dir=/usr/local/bin –filename=composer


Install Composer

Install Laravel

Create Hello World Project (First Project using Laravel)

Goto Command Prompt (use cmd command)

goto specific folder (eg. c:\laravelproject)


md laravelproject

cd laravelproject

Now Create project (Laravel Project Create Command)

composer create-project laravel/laravel myapp1

cd myapp1

php artisan serve

Now Test Hello World in your Browser

Open Chrome Browser (Or Firefox Browser / other)

Open URL: