mareknocon/composer-stability-patterns 问题修复 & 功能扩展

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

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

mareknocon/composer-stability-patterns

最新稳定版本:v0.0.1

Composer 安装命令:

composer require mareknocon/composer-stability-patterns

包简介

Specify Composer's minimum stability using patterns

README 文档

README

Description

This plugin allows you to specify Composer's minimum stability using more granular patterns, similar as the preferred-install and allow-plugins options do.

Instalation

The plugin needs to be active during the pre-pool-create event - meaning that in order to work it needs to be already installed and activated before that. That's why global installation is needed:

composer global require mareknocon/composer-stability-patterns

Examples

Specify the patterns and their stability level in the exta section in composer.json file:

    "extra": {
        "minimum-stability": {
            "my-organization/specific-package": "stable",
            "my-organization/*": "dev",
            "partner-organization/*": "rc",
            "*": "stable"
        }
    }

Doc

Together with this plugin there are three options to specify minimum stability, which are resolved in the following order:

  1. Package stability level

    Directly specified stability (@dev, @alpha, @beta, @RC) for a package will be used.

  2. Granular stability level

    If package name matches one of the specified patterns then the stability level of the first matching pattern will be used

  3. Global stability level

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-11