Reputation: 55
I am using windows 8 .I am using XAMPP.I installed XAMPP in D
drive. My web root path is D:\php\htdocs
. Location of php.exe file is D:\php\php
. I would like to install Composer
first then Laravel
using composer. Could any one show me the whole process with step by step instruction ??
Upvotes: 0
Views: 5540
Reputation: 351
php -r "readfile('https://getcomposer.org/installer');" | php
D:\xampp\php>echo @php "%~dp0composer.phar" %*>composer.bat
composer -V
. composer create-project laravel/laravel myapp --prefer-dist
Upvotes: 3
Reputation: 723
D:\php\htdocs
composer create-project laravel/laravel myapp
, this will install laravel project in D:\php\htdocs\myapp
directory.Upvotes: 0