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"
    },
时间: 2024-08-01 19:54:37

Setting composer minimum stability for your application的相关文章

如何創建一個自己的 Composer/Packagist 包 (PHP)

如何創建一個自己的 Composer/Packagist 包 首先讓我們踏着歡快的腳步去Github創建一個新庫,這裏取名 composer-car,又歡快的將它克隆到本地: git clone http://go.rritw.com/github.com/GeHou/composer-car.git cd composer-car 這個composer-car文件夾就是你的包的root目錄了,你只需要記住composer.json在包的哪個目錄下面,一般那就是包的root目錄了.什麼?做包子的

开发自己的composer包

1. 创建一个开发目录 1 mkdir project 2 cd project 2. 利用composer生成一个composer.json 1 composer init 2 > Welcome to the Composer config generator 3 > This command will guide you through creating your composer.json config. 4 5 // 1. 输入项目命名空间 6 // 注意<vendor>

Android.mk和Application.mk文件语法规范说明及举例

以下英文内容摘自:http://www.kandroid.org/ndk/docs/OVERVIEW.htmlThe Android NDK is a set of tools that allows Android application developers to embed native machine code compiled from C and/or C++ source files into their application packages. NDK development

satis 搭建 Composer 私有库的方法

安装 satis 命令行下执行: php create-project composer/satis --stability=dev --keep-vcs . 配置 创建 satis.json 文件,如官方示例: {"name": "My Repository","homepage": "http://packages.example.org","repositories": [{ "type&q

ModSecurity web application firewall (WAF) Research

catalog 0. 引言 1. OWASP ModSecurity Core Rule Set (CRS) Project 2. Installation mod_security for Apache 3. Installation mod_security for nginx 4. Installation mod_security for IIS 5. mod_security Configuration Directives 6. Processing Phases 7. Variab

【iOS开发-71】解决方案:Attempting to badge the application icon but haven&#39;t received permission from the...

(1)原因 一切都是iOS8捣的鬼.您如果把模拟器换成iOS7.1或者更早的,就不会有这个问题.而现在在iOS8中要实现badge.alert和sound等都需要用户同意才能,因为这些都算做Notification"通知",为了防止有些应用动不动给用户发送"通知"骚扰用户,所以在iOS8时,要"通知"必须要用户同意才行. (2)解决思路:我们判断一下,如果系统版本大于等于8.0的话,我们就在用户打开应用的时候弹出一个框框提示说我们要发送通知给你,

使用 satis 搭建 composer 本地仓库

环境 windows nginx php composer 安装 拉取 satis 项目包,并拉取项目依赖 composer create-project composer/satis --stability=dev cd satis composer install 配置 修改 satis/config.json 文件,文件内容如下 { "name": "composer 本地仓库", "homepage": "http://pack

Java性能提示(全)

http://www.onjava.com/pub/a/onjava/2001/05/30/optimization.htmlComparing the performance of LinkedLists and ArrayLists (and Vectors) (Page last updated May 2001, Added 2001-06-18, Author Jack Shirazi, Publisher OnJava). Tips: ArrayList is faster than

Java Performance Optimization Tools and Techniques for Turbocharged Apps--reference

Java Performance Optimization by: Pierre-Hugues Charbonneau reference:http://refcardz.dzone.com/refcardz/java-performance-optimization Java is among the most widely used programming languages in the software development world today. Java applications