spencermalone/composer-merge-bypass-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

spencermalone/composer-merge-bypass-plugin

最新稳定版本:v0.0.2

Composer 安装命令:

composer require spencermalone/composer-merge-bypass-plugin

包简介

Hides merge conflicts in composer.lock and vendor/composer/installed.json

README 文档

README

Globally install this composer plugin, and if you ever run composer update --lock on a repository that has active merge conflicts in the composer.lock or vendor/composer/installed.json, then this will use a stream wrapper to rewrite the contents to a temporary file and load those instead of the real merge conflicted file, allowing composer to load the lock file even though it will has invalid json.

Usage

composer global require "spencermalone/composer-merge-bypass-plugin 0.0.2"

If you ever run into a merge conflict on composer.lock or vendor/composer/installed.json, you can just composer update --lock with the merge conflicts still in place, and the "right thing" will happen (ie, it'll use a version of those files without any invalid characters and regenerate the contents)

Honorable Mention

Much of this is based on https://github.com/dg/bypass-finals, but applied to composer lock/json files instead of PHP source code.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2025-07-07