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