Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer.lock should be in repository #129

Open
slaFFik opened this issue Nov 8, 2017 · 0 comments
Open

composer.lock should be in repository #129

slaFFik opened this issue Nov 8, 2017 · 0 comments

Comments

@slaFFik
Copy link

slaFFik commented Nov 8, 2017

https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control

Committing this file to VC is important because it will cause anyone who sets up the project to use the exact same versions of the dependencies that you are using. Your CI server, production machines, other developers in your team, everything and everyone runs on the same dependencies, which mitigates the potential for bugs affecting only some parts of the deployments. Even if you develop alone, in six months when reinstalling the project you can feel confident the dependencies installed are still working even if your dependencies released many new versions since then. (See note below about using the update command.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant