install laravel using composer windows code example
Example 1: laravel install
composer create-project laravel/laravel <example-app>
Example 2: composer install laravel
composer global require laravel/installer
Example 3: laravel install
composer create-project --prefer-dist laravel/laravel blog "5.6.*"