install laravel 8 installer code example
Example 1: laravel 8 install
composer create-project --prefer-dist laravel/laravel blog
Example 2: installing laravel 8
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop
composer create-project --prefer-dist laravel/laravel blog
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop