1// To install and use a specific version, you can enter it at the end of the command.
2// For example using version 5.8 ==>
3composer create-project --prefer-dist laravel/laravel projectName "5.8.*"
1composer global require laravel/installer
2
3laravel new example-app
4
5cd example-app
6
7php artisan serve
1composer create-project laravel/laravel --prefer-dist laravel-socialite-login-facebook-example