在给定 composer.json 文件的情况下,我如何知道哪些软件包可以升级到新版本?
How can I know what packages can be upgraded to a new version given a composer.json file?
是否有任何实用程序或服务可以根据自定义 composer.json 文件了解哪些软件包发布了新版本?
这对计划包升级非常有用。
您可以运行 composer show --outdated
获取过时包的列表。
过时的是所有软件包,它们有更新的版本可用或 abandoned/replaced 由另一个软件包提供。
如果您想要一个完整的概览,包括过时的和最新的,那么您可以使用 composer show --latest
。
更多:composer show --help
。
引用:https://getcomposer.org/doc/03-cli.md#show
一些存储库使用外部服务,例如 VersionEye to track, whether their dependencies are up to date. The status is often indicated by a "dependency up-to-date" badge, which is added to the readme of the project. You can find that for instance in the Readme of the Yii2 Framework。
是否有任何实用程序或服务可以根据自定义 composer.json 文件了解哪些软件包发布了新版本?
这对计划包升级非常有用。
您可以运行 composer show --outdated
获取过时包的列表。
过时的是所有软件包,它们有更新的版本可用或 abandoned/replaced 由另一个软件包提供。
如果您想要一个完整的概览,包括过时的和最新的,那么您可以使用 composer show --latest
。
更多:composer show --help
。
引用:https://getcomposer.org/doc/03-cli.md#show
一些存储库使用外部服务,例如 VersionEye to track, whether their dependencies are up to date. The status is often indicated by a "dependency up-to-date" badge, which is added to the readme of the project. You can find that for instance in the Readme of the Yii2 Framework。