I have a project in PHP, but there is no composer.json and composer.lock – only installed.json. How to recover composer.json and composer.lock with installed.json? Or with other way?
just run composer install
. The dependencies of your old composer.json are inside the installed.json. I don't know if that's the way to go as installed.json holds info for all the dependencies that were installed but if you are sure that it will be ok go ahead !!!