1Before starting this hope you installed composer dependancy manager for PHP.
2-----------------------------------------------------------------------------
3So if you want to create a project by name of 'first_laravel_app' in directory C:/xampp/htdocs/ then what you need to do is
4
5Locate your project parent directory using cmd
6>cd c:/xampp/htdocs
7
8and fire this command
9>composer create-project laravel/laravel first_laravel_app --prefer-dist
10
11And its done, this is really easy and it also creates Application Key automatically for you.
12
13# I hope it will help you.
14# Namaste
1// 3 ways to create project in laravel
2composer create-project --prefer-dist laravel/laravel APIDemo
3 laravel new laravel-backend-api
4 composer global require laravel/installer