laravel artrisan composer install code example
Example 1: laravel installer
composer global require laravel/installer
Example 2: Laravel Installer
composer global require laravel/installer
laravel new example-app
cd example-app
php artisan serve