定制 enomotodev/composer-lock-diff 二次开发

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

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

enomotodev/composer-lock-diff

最新稳定版本:1.5.2

Composer 安装命令:

composer require enomotodev/composer-lock-diff

包简介

See what has changed after a composer update.

README 文档

README

See what packages have changed after you run composer update by comparing composer.lock to the the git HEAD.

Requires:

  • php >= 5.3

There are no other dependencies.

Install

composer global require enomotodev/composer-lock-diff

Or just copy the 'composer-lock-diff' to /usr/local/bin.

Usage

composer update # don't commit yet! composer-lock-diff

Or from vim, to insert the output into the commit message, type :r!composer-lock-diff.

Options

  • --path, -p: Base to with which to prefix paths. Default "./"
  • --from: The file^, git ref, or git ref with filename to compare from (HEAD:composer.lock)
  • --to: The file^, git ref, or git ref with filename to compare to (composer.lock)
  • --md: Markdown table output
  • --json: json output
  • --pretty: pretty output when combined with --json (>=5.4 only)
  • --no-links: Don't include Compare links in plain text or any links in markdown
  • --only-prod: Only include changes from packages
  • --only-dev: Only include changes from packages-dev

^ File includes anything available as a protocol stream wrapper such as URLs.

Example Plain Text Table Output

+--------------------+-------+--------+------------------------------------------------------------------+-------------------------------------------+ | Production Changes | From | To | Compare | Source | +--------------------+-------+--------+------------------------------------------------------------------+-------------------------------------------+ | guzzlehttp/guzzle | 6.2.0 | 6.3.0 | https://github.com/guzzle/guzzle/compare/6.2.0...6.3.0 | https://github.com/guzzle/guzzle | | hashids/hashids | 2.0.0 | 2.0.4 | https://github.com/ivanakimov/hashids.php/compare/2.0.0...2.0.4 | https://github.com/ivanakimov/hashids.php | | league/flysystem | 1.0.0 | 1.0.42 | https://github.com/thephpleague/flysystem/compare/1.0.0...1.0.42 | https://github.com/thephpleague/flysystem | | monolog/monolog | NEW | 1.21.0 | | https://github.com/Seldaek/monolog | +--------------------+-------+--------+------------------------------------------------------------------+-------------------------------------------+ +------------------+--------+---------+---------+-------------------------------------+ | Dev Changes | From | To | Compare | Source | +------------------+--------+---------+---------+-------------------------------------+ | phpspec/php-diff | v1.0.2 | REMOVED | | https://github.com/phpspec/php-diff | +------------------+--------+---------+---------+-------------------------------------+ 

Markdown Table

Raw

| Production Changes | From | To | Compare | |---------------------------------------------------------------|-------|--------|-------------------------------------------------------------------------| | [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) | 6.2.0 | 6.3.0 | [...](https://github.com/guzzle/guzzle/compare/6.2.0...6.3.0) | | [hashids/hashids](https://github.com/ivanakimov/hashids.php) | 2.0.0 | 2.0.4 | [...](https://github.com/ivanakimov/hashids.php/compare/2.0.0...2.0.4) | | [league/flysystem](https://github.com/thephpleague/flysystem) | 1.0.0 | 1.0.42 | [...](https://github.com/thephpleague/flysystem/compare/1.0.0...1.0.42) | | [monolog/monolog](https://github.com/Seldaek/monolog) | NEW | 1.21.0 | | | Dev Changes | From | To | Compare | |---------------------------------------------------------|--------|---------|---------| | [phpspec/php-diff](https://github.com/phpspec/php-diff) | v1.0.2 | REMOVED | | 

Rendered

Production Changes From To Compare
guzzlehttp/guzzle 6.2.0 6.3.0 ...
hashids/hashids 2.0.0 2.0.4 ...
league/flysystem 1.0.0 1.0.42 ...
monolog/monolog NEW 1.21.0
Dev Changes From To Compare
phpspec/php-diff v1.0.2 REMOVED

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 19
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固