enomotodev/composer-lock-diff
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 frompackages--only-dev: Only include changes frompackages-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 |
enomotodev/composer-lock-diff 适用场景与选型建议
enomotodev/composer-lock-diff 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 40.93k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2019 年 08 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 enomotodev/composer-lock-diff 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 enomotodev/composer-lock-diff 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 40.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 15
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-29