首页 > 代码库 > Setting composer minimum stability for your application
Setting composer minimum stability for your application
Minimum Stability Settings
Composer accepts these flags as minimum-stability
settings. The default setting for minimum-stability
if not provided is assumed to be stable
, but you could define any of the flags down the hierarchy.
–stable
(most stable)
– RC
– beta
– alpha
– dev
(least stable)
使用 @dev 解决版本问题
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"kartik-v/yii2-grid": "@dev"
},
Setting composer minimum stability for your application
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。