Answer the question
In order to leave comments, you need to log in
Where can I get the composer.json file for Open Server?
When installing the Laravel framework, it gives the following error:
Composer could not find a composer.json file in C:\openserver
Answer the question
In order to leave comments, you need to log in
You seem to be running the command in the wrong place. You have a folder in which there is laravel, composer.json is located there. Judging by the error - you are running composer in the root of openServer, otherwise there should not be composer.json, and apparently there is no error about this either.
Run commands in the project folder, not in C:\openserver. To do this, run
cd domain
cd somemyprojectfolder in the console
and only after that run update, etc.
You can check the performance of the composer from anywhere, for example, with the
composer self-update command
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question