composer create-project laravel/laravel your-project-name version
composer create-project laravel/laravel {directory} "8.*" --prefer-dist