Should composer.lock be committed to version control?
If you update your libs, you want to commit the lockfile too. It basically states that your project is locked to those specific versions of the libs you are using. If you commit your changes, and someone pulls your code and updates the dependencies, the lockfile should be unmodified. If it is modified, it means … Read more