laravel installer linux code example
Example 1: Laravel installation on Linux via composer
composer global require laravel/installer
laravel new example-app
cd example-app
php artisan serve
Example 2: Laravel installation on Linux
composer create-project laravel/laravel example-app
cd example-app
php artisan serve