composer create-project --prefer-dist laravel code example
Example: composer create-project --prefer-dist laravel/laravel blog
composer create-project laravel/laravel myproject --prefer-dist v8.15.0
composer create-project laravel/laravel myproject --prefer-dist v8.15.0