Laravel Installer latest code example
Example 1: laravel 7 install
composer create-project --prefer-dist laravel/laravel:^7.0 blog
Example 2: install laravel
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
composer create-project --prefer-dist laravel/laravel:^7.0 blog
composer create-project laravel/laravel example-app
cd example-app
php artisan serve