?: laravel code example
Example 1: laravel
//There are two ways to install laravel
//1-install laravel with Composer
composer create-project laravel/laravel example-app
// or
//2-install laravel with Laravel Installer
composer global require laravel/installer
laravel new example-app
// go to the project
cd example-app
Example 2: laravel
# Via Laravel Installer
composer global require laravel/installer
laravel new blog
# Via Composer Create-Project
composer create-project --prefer-dist laravel/laravel blog