Install Laravel

version : Laravel 10
Post Time : 31-03-2024

Install Laravel

To install Laravel first install composer 

You can install composer by given link : https://getcomposer.org/download/

Then run below commands in command prompt :

                                      
                                        

composer global require laravel/installer
laravel new laravel_10_project
cd laravel_10_project
php artisan serve

OR You can use below Command : 

                                      
                                        

composer create-project --prefer-dist laravel/laravel laravel_10_project


To Install Specific Version of Laravel

                                      
                                        

 composer create-project laravel/laravel:^10.0 laravel_10_project