easiest way to install laravel code example
Example 1: insall laravel
composer global require laravel/installer
laravel new blog
Example 2: install laravel on windows
composer global require laravel/installer
composer global require laravel/installer
laravel new blog
composer global require laravel/installer