Video tuto install laravel php framework hello world using composer

Welcome to this new Video tuto install laravel php framework hello world using composer, on a brand new virtual machine on VirtualBox, with a linux Ubuntu.

Laravel is a free, open source PHP web application framework, designed for the development of model–view–controller (MVC) web applications.

According to a December 2013 developers survey on PHP frameworks popularity, Laravel is listed as the most popular PHP framework in 2013, followed by Phalcon, Symfony2, CodeIgniter and others.

This framework, like many of the modern framework allow to code, and have the application running at the same time.
The composer command is used to create, configure and run the project.
While running some code modification will make the code compile just by refreshing the browser requesting on the localhost machine.

Laravel for web artisans !

Video tuto install laravel php framework, hello world, using composer

Here is the list of the commands used in this video for the install of the laravel php framework !:

1 sudo aptitude install vim -y
2 sudo aptitude install tree -y
3 sudo add-apt-repository ppa:webupd8team/sublime-text-2
4 sudo apt-get install sublime-text -y
5 sudo aptitude install build-essential -y
6 sudo apt-get update
7 sudo apt-get upgrade -y
8 sudo shutdown -h now
9 sudo aptitude install php5 -y
10 sudo shutdown -r now
11 sudo aptitude install php5-cli -y
12 sudo aptitude install php5-mcrypt -y
13 ls -la /etc/php5/mods-available/
14 sudo apt-get install curl -y
15 curl -sS | php
16 sudo php5enmod mcrypt
18 /home/fab/composer.phar create-project laravel/laravel proj1 –prefer-dist
19 cd proj1/
20 php artisan serve
21 cd –
22 sudo add-apt-repository ppa:webupd8team/sublime-text-2
23 sudo apt-get install sublime-text -y
24 history


sudo vim /var/www/html/test.php
add , then you can check in your browser the url localhost/test.php

sudo vim /etc/php5/apache2/php.ini
in “Dynamic Extensions”, add “”

Laravel command preview

Laravel command preview

Code of the application:




page3 h2

Hello World From controller

Video tuto install laravel php framework hello world using composer

You may also like...