efabrica / composer-plugin
1.0.2
2023-02-03 13:33 UTC
Requires
- php: >=7.4 <8.3
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
This package is auto-updated.
Last update: 2024-08-29 11:00:06 UTC
README
安装
composer global require efabrica/composer-plugin
回答问题:“您信任 "efabrica/composer-plugin" 执行代码并希望现在启用它吗?(将 "allow-plugins" 添加到 composer.json)”
命令
此插件允许您使用额外的命令
extended-outdated
显示一个列表,其中包括可用的更新安装包及其最新版本。如果可能,它还会显示差异和变更日志的URL。
用法
在您的应用程序根目录下运行
composer extended-outdated
选项
--filter=FILTER Name of package(s) including a wildcard (*) to filter lists of packages.
--locked List all locked packages
--ignore=IGNORE Ignore specified package(s). Use it with the --outdated option if you don't want to be informed about new versions of some packages. (multiple values allowed)
-m, --minor-only Show only packages that have minor SemVer-compatible updates. Use with the --outdated option.
-D, --direct Shows only packages that are directly required by the root package
--strict Return a non-zero exit code when there are outdated packages
-f, --format=FORMAT Format of the output: text or json [default: "text"]
--no-dev Disables search in require-dev packages.
--ignore-platform-req=IGNORE-PLATFORM-REQ Ignore a specific platform requirement (php & ext- packages). Use with the --outdated option (multiple values allowed)
--ignore-platform-reqs Ignore all platform requirements (php & ext- packages). Use with the --outdated option
--host-to-type=HOST-TO-TYPE Add hosts to type map. Use pipe to separate host and type, e.g. --host-to-type="my.gitlab.org|gitlab" (multiple values allowed)
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--profile Display timing and memory usage information
--no-plugins Whether to disable plugins.
--no-scripts Skips the execution of all scripts defined in composer.json file.
-d, --working-dir=WORKING-DIR If specified, use the given directory as working directory.
--no-cache Prevent use of the cache
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
已知限制
- 命令尝试在供应商目录中查找变更日志文件。如果未创建或被忽略导出(例如,在 .gitattributes 中),则无法完成此操作。
- 如果发布名称与标签名称不同(Github),则命令会创建错误的URL。
- 命令现在仅支持 Github 和 Gitlab 类型的 URL
贡献
如果您发现任何问题或只是想使此插件更好,请随时贡献。