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:
-
Package stability level
Directly specified stability (
@dev,@alpha,@beta,@RC) for a package will be used. -
Granular stability level
If package name matches one of the specified patterns then the stability level of the first matching pattern will be used
-
Global stability level
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-11