Default command laravel new will create new directory with the name we specify after new command.
Sometimes we need to create project in current existing directory. To do so, we can run laravel new with additional parameter –force command and dot notation inside current directory like this :
laravel new –force .
The laravel above command are no longer supported, you can use composer like this :
composer create-project laravel/laravel="7.*" .