定制 spencermalone/composer-merge-bypass-plugin 二次开发

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

邮箱: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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固