Find us on facebook

Apr 26, 2015

Installing Composer And Installing Laravel 5 (Method 2)

Download composer to any location you want. You can use following command.

D:\wamp\www>php -r "readfile('https://getcomposer.org/installer');" | php -- --i
nstall-dir=composer

Composer is a directory under www folder. We are going to install composer into that directory.

Following screenshot will give you more detailed idea.


After doing this process you will see that you have composer.phar inside the composer folder.

To install laravel use the following command and hit enter.

D:\wamp\www\composer>php composer.phar create-project laravel/laravel D:/wamp/www/laravel

/BATransfer123 --prefer-dist

Following screenshot will provide more details.


You are Done. :D

No comments:

Post a Comment