承接 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.94k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-26