how to instal laravel 6 code example
Example 1: laravel 7 install
composer create-project --prefer-dist laravel/laravel:^7.0 blog
Example 2: install laravel
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 3: laravel install
composer create-project laravel/laravel <example-app>
Example 4: laravel instal
composer global require laravel/installer
laravel new example-app
php artisan serve