Old way
composer create-project laravel/laravel project-name
this command will install the latest laravel version
composer create-project laravel/laravel:^10.0 project-name
this command will install laravel version 10
new way ( Laravel Installer )
composer global require laravel/installer
laravel new project
cd project
php artisan serve
Top comments (0)