composer laravel download code example
Example 1: laravel install by composer
composer create-project --prefer-dist laravel/laravel blog
cd example-app
php artisan serve
Example 2: laravel composer install
Laravel 8* install composer comand
composer create-project laravel/laravel example-app
cd example-app
php artisan serve