laravel 5.6 code example
Example 1: laravel 6
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 2: laravel 5.7
composer create-project --prefer-dist laravel/laravel blog "5.7.*"
composer create-project --prefer-dist laravel/laravel blog "6.*"
composer create-project --prefer-dist laravel/laravel blog "5.7.*"