Wednesday 17 August 2016

Laravel 5.0 installation in easy method


step 1:

Download and install the composer using getcomposer.org

step 2:

Install the composer using php variable path

ex: c:\xampp\php\php.exe

or

c:\wamp\php\php.exe

step 3:

Open the command prompt and then set global requirement for composer

composer global require "laravel/installer"

(it will take some time for installation)

step 4:

Set path variable to environment variables

set path = C:\Users\administrator\AppData\Roaming\Composer\vendor\bin

step 5:

Finally create a new project using laravel

c:\xampp\htdocs> composer create-project laravel/laravel --prefer-dist

c:\xampp\htdocs\laravel> composer update

step 6:

Finally open the project using browser

localhost/project_namr/public


1 comment: