How to recover the composer.json to an existing symfony2 project?

Good afternoon. Came to support the project симфони2, but without the config of composer (vendor added to the version control system).
In fact, the essence of the question in the title: is it possible, and if so, how to restore the configuration of composer for the finished project?
September 19th 19 at 00:21
1 answer
September 19th 19 at 00:23
If you have /vendor/composer/installed.json see installed packages there.
And to find them out in the composer.json. Then look for specific things for the project, like non-standard paths to /src/App/AppBundle => \AppBudnle and other things...

In any case make a backup.
Just do not run "composer update", and then demolish all of them if composer.json empty )))

Any automatic solution to the problem I don't know, can someone tell me more.

PS. Time is a git (or whatever), create a branch, rolled past where it still existed, if the course is not in gitignore.
Unfortunately, the project got just a folder of code without git. Version control is already added myself. Thank you for /vendor/composer/installed.json would have something to go. - jazmyne.Auer90 commented on September 19th 19 at 00:26

Find more questions by tags Web DevelopmentComposerSymfonyFrameworks