定制 efabrica/composer-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

efabrica/composer-plugin

最新稳定版本:1.0.2

Composer 安装命令:

composer require efabrica/composer-plugin

包简介

README 文档

README

Installation

composer global require efabrica/composer-plugin

Answer y to question: "Do you trust "efabrica/composer-plugin" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json)"

Command

This plugin allows you to use additional command:

extended-outdated

Shows a list of installed packages that have updates available, including their latest version. If possible, it also shows URL to diff and changelog.

Usage

In your application root dir run:

composer extended-outdated 

Options

--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

Known limitations

  1. Command is trying to find changelog file in vendor's dir. It can't be done if it wasn't created or if it is ignored for export (e.g. in .gitattributes)
  2. Command creates wrong urls if the release name is different from the tag name (Github)
  3. Command now supports only Github and Gitlab types of urls

Contribution

If you find any issue or you just want to make this plugin better, feel free to contribute.

统计信息

  • 总下载量: 962
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固