Install laravel via composer

Install Laravel via composer


This article is about one of the new PHP Framework Laravel. It is for me the best framework to develop any kind of web application. So let take an overview about Laravel Framework.

It  is a free, open source PHP framework by following the MVC (model–view–controller) pattern.

Install Laravel via composer:

Laravel depends on a lot of external packages for its functionality, by using Composer as a dependency manager and  utilizes Composer for installation and dependency management.

Step1: Install Composer

Some System Requirements for composer:

Composer requires PHP 5.3.2+ to run. Some sensitive php settings are also required, but when using the installer, you will be warned about any incompatibilities.

First check if composer already installed. Open command line and type “composer” and press enter if it’s already installed it will show Composer information.

if composer already installed and old more than 30 days, then run below command “composer self-update” this will update your composer.

If composer is not installed. Let’s start by installing Composer.

Using the Installer on windows#

This is the easiest way to setup Composer on your system.

Download and run Composer-Setup.exe. It will install the latest Composer version and set up your PATH so that you can just call composer from any directory in your command line.
Download composer for window on below link

Download Composer for Windows
Check composer installation by running “composer” command on command line after that move to directory where you want to create Laravel project.
it’s extremely easy to get a new laravel project set up. There is no more downloading for it, now all you have to do is run following commands to create projects:


1.Create specific version of laravel project by running following command

2.Create latest version of laravel project by running following command

This command will download and install a fresh copy of Laravel in phpclicks folder.


Move control to your project directory by running below command


Run below command to up your laravel project

it will show below URL if its up successfully.


Run above URL in browser and you will see the laravel home page.

Laravel Blade Templating Next