To install Laravel in the current directory you can do the following steps. Do imagine you are inside the directory of where you want to place Laravel.
$ laravel new temp
Once the Laravel is created, move out all the content of the "temp" into the current directory.
$ mv temp/* .
Now you can remove the empty "temp" directory.
$ rm temp
Now the current directory will have the newly created Laravel installation and you can git commit and push to the repository.
Leave a reply