json vs lock #9777
-
I deleted composer.json file. BUt I have the lock file. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The lock file contains the information about how dependencies are been resolved. but it does not copy all the information about your root project, which are in the composer.json. |
Beta Was this translation helpful? Give feedback.
-
Hi @adi-wtag, I have written a simple CLI command to may help you out: https://github.com/mtarld/composer-vendor-scaper |
Beta Was this translation helpful? Give feedback.
The lock file contains the information about how dependencies are been resolved. but it does not copy all the information about your root project, which are in the composer.json.