定制 deviantintegral/composer-gavel 二次开发

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

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

deviantintegral/composer-gavel

最新稳定版本:v1.0.0

Composer 安装命令:

composer require deviantintegral/composer-gavel

包简介

Enforce a minimum Composer version for your team

README 文档

README

Gavel

I judge your Composer to be insufficent

CI Packagist

Rationale

We've worked on many projects with larger teams where developers end up with multiple versions of composer all over their local environments. This plugin will ensure that composer version warnings can't be ignored by developers, which is especially useful when developers need to run composer update.

Usage

$ composer global require deviantintegral/composer-gavel

Add plugin to your project and update other dependencies

  1. $ composer require --dev deviantintegral/composer-gavel
  2. $ composer update

Add without updating anything

  1. $ composer require --dev deviantintegral/composer-gavel
  2. Update the composer.lock hash with $ composer update --lock.

When the running composer version does not satisfy the constraint, an error will be thrown.

gavel error

It's recommended to require this plugin on a per-project basis as well as globally. If the plugin is not globally installed, then the version check will not run during the very first composer install or update. The per-project requirement ensures that the plugin is activated after the initial install. The composer version is a root-only key and is not used in dependencies.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固