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
                  

this line will install Laravel in default folder

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/