Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal: adding a composer outdated command #3771
When I'm using other package managers, I often use commands like
Is this something that could be on the roadmap?
Yes, it shows the current version, highest matching version according to constraints, the latest version you can update to, and it does it for the dependencies of your dependencies too.
2 similar comments
+1 This would definitely be a great feature. npm-check-updates does this very well for node packages.
$ npm-check-updates express 4.12.x → 4.13.x multer ^0.1.8 → ^1.0.1 react-bootstrap ^0.22.6 → ^0.24.0 react-a11y ^0.1.1 → ^0.2.6 webpack ~1.9.10 → ~1.10.5 Run with -u to upgrade your package.json
Maybe we could have a similar setup showing installed and the latest available version?
5 similar comments
3 similar comments
referenced this issue
Dec 3, 2015
I think constraints are an important part to consider here, but I know what you mean.
A little helper for the bash...
btw ... if there's an update available, which not matches your constraint, how should it be displayed?
@schmunk42 Perhaps, that could be managed using command line flags? For example "composer show-outdated --include-dev" would list latest versions including dev-master etc.
How I imagine this could work is that the command would show possible minor and patch increments for current major version and also list possible major version increments.
Consider the example:
Locked version: 1.3.3
This would give ability to decide to which one to update to. Also could be managed via cli switches.
Just from top of my head...
So there already is an
@adragus-inviqa MY MISTAKE: I didn't read the full thread. I've removed my dummy +1.
Thread should be closed if the final position is to use a third-party plugin / tool for this. I think it can help to give my point-of-view regarding such a feature should be justified to be core or not.
I'll try to be more productive even if i'm not in my native language.
I'm using composer to manage Magento projects (Magento 1 in a home-made environment) and Wordpress based websites using the Bedrock stack (and combination of them).
Drawback : i need to check available plugins updates by hand...
=> That would be cool to have it built-in : listing available updates for every package ignoring fully-qualified versions. I mention it because i think (maybe i'm wrong) that it would not be too hard to implement as composer ALREADY do it if using ^* things. That's my point, comma.
=> There is a third party solution : climb : great : I'll give a try to climb. End of transmission.
Thanks for reading