I am new to Laravel. I am trying to install Composer for Laravel but getting this error:
Composer could not find a composer.json file in C:\\xampp\\htdocs
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
To create a missing composer.json
file, you need to run:
composer global require "laravel/installer"
See: Installing Laravel .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.