how to install both laravel 7 and 8 code example
Example: installing laravel 8
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop