-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Detect whether vendor directory is up-to-date / composer outdated command #4709
Comments
For comparison, you can achieve this in NPM with the
|
Isn't this nearly exactly what
So apart from the latest version and the nice sorting this is already available right? |
That would check the |
Yeah I think install --dry-run would be the closest to check the vendor dir against the lock file (or json in case there is no lock). |
Closing as duplicate of #3771 |
I'd like to have some way of testing that dependencies installed in the
vendor/
directory are up-to-date so that I can exit early from unit tests.As an example, consider that I ran
composer install
locally at some stage, but there have since been additions to thecomposer.json
andcomposer.lock
files and it its now necessary for me to runcomposer install
again. I would ideally be able to detect this scenario and react accordingly.The text was updated successfully, but these errors were encountered: