create laravel app code example
Example 1: create laravel project
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
Example 2: insall laravel
composer global require laravel/installer
laravel new blog
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
composer global require laravel/installer
laravel new blog