Bloc97
0
Q:

laravel documentation

composer create-project --prefer-dist laravel/laravel blog "6.*"
1
composer global require laravel/installer
1
Before starting this hope you installed composer dependancy manager for PHP.
----------------------------------------------------------------------------- 
So 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

Locate your project parent directory using cmd
>cd c:/xampp/htdocs

and fire this command 
>composer create-project laravel/laravel first_laravel_app --prefer-dist

And its done, this is really easy and it also creates Application Key automatically for you.
  
# I hope it will help you.
# Namaste 
1
composer global require laravel/installer 
laravel new blog
6
composer create-project --prefer-dist laravel/laravel blog
0
laravel new blog
0
laravel install on windows
-----------------------------------
1-composer install
https://getcomposer.org/download/
2-laravel install using composer
composer global require laravel/installer
3-create new project
laravel new blog
cd blog 
4-serve project to localhost
php artisan serve 
1

New to Communities?

Join the community