laravel latest version download code example
Example 1: laravel installer
composer global require laravel/installer
Example 2: laravel create project command with version
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 3: laravel install
composer global require laravel/installer
laravel new example-app
cd example-app
php artisan serve
Example 4: laravel download
composer global require "laravel/installer=~1.1"