作曲者 - 显示依赖关系的可能更新(如凉鞋列表) [英] Composer - show possible updates for dependencies (like bower list)
问题描述
在Composer文档中找不到如何检查新版本的所有依赖项。在bower中有 bower列表
:
Composer中的任何替代方案来实现这一点?
不,您的功能
更新(2016年5月)
使用:作曲家过时的
或作曲家节目 - 过期的
< hr>
旧答案:
您可以在这里找到依赖关系的列表包的功能请求:
Can't find in Composer documentation how to check all dependencies for new versions. In bower there's bower list
:
Any alternative in Composer to achieve this?
No, the feature you are asking for is not implemented, yet.
Update (May 2016):
Use: composer outdated
or composer show --outdated
Old answer:
You may find a feature request for "list packages with dependencies" over here: https://github.com/composer/composer/issues/3836
The "possible updates indication" is an addition to that.
See also Seldaeks answer:
$ for pkg in `composer show -i --name-only`; do composer show -i $pkg | grep 'php '; done
The cmd is not a perfect fit. I've added it to show how to iterate over packages and then list more details. You might need to adjust it and alter the grep.
Update (Nov 2015):
There is a Composer Plugin called "composer-versions-check", which shows outdated packages from last major versions after using the update command. (Latest is ..)
https://github.com/Soullivaneuh/composer-versions-check
这篇关于作曲者 - 显示依赖关系的可能更新(如凉鞋列表)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!