windows install laravel 8 code example
Example 1: install laravel globally
composer global require laravel/installer
Example 2: composer create-project --prefer-dist laravel/laravel blog
composer create-project laravel/laravel myproject --prefer-dist v8.15.0