what you need to know before installing laravel 8 code example
Example 1: install laravel
composer create-project --prefer-dist laravel/laravel blog
Example 2: installing laravel 8
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop