download laravel latest version code example
Example 1: laravel install
composer create-project laravel/laravel <example-app>
Example 2: laravel download
composer create-project --prefer-dist laravel/laravel:^7.0 blog
Example 3: laravel download
composer global require "laravel/installer=~1.1"
Example 4: laravel installer version
Laravel Installer Version Check
laravel -version
ex. laravel -version
Result : Laravel Installer 4.1.1