install laravel with composer windows code example
Example 1: laravel install
composer create-project laravel/laravel <example-app>
Example 2: install laravel on windows
composer global require laravel/installer
composer create-project laravel/laravel <example-app>
composer global require laravel/installer