Igor Simic
7 years ago

Install Laravel in current directory or in specific folder


How to install some git package in specific folder? Or how to install package ( in this case Laravel) in current directory?

Install Laravel in current directory can be done with this command:
composer create-project --prefer-dist laravel/laravel . "5.5.*"
this line will install Laravel 5.5 or greater

and if you want to install Laravel in specific folder you can use this command:
composer create-project --prefer-dist laravel/laravel /path/to/your/directory/ "5.5.*"