install app laravel code example
Example 1: insall laravel
composer global require laravel/installer
laravel new blog
Example 2: composer create-project 5.8
composer create-project --prefer-dist laravel/laravel blog "5.8.*"
composer global require laravel/installer
laravel new blog
composer create-project --prefer-dist laravel/laravel blog "5.8.*"