kohana(koseven3.3.9)缺省的composer.json


默认的composer.json文件

{
  "name": "koseven/koseven",
  "description": "Koseven Framework - PHP-7 compatible replacement for Kohana",
  "license": "BSD-3-Clause",
  "keywords": [
    "kohana",
    "kohana-php7",
    "koseven"
  ],
  "homepage": "https://koseven.ga/",
  "authors": [
    {
      "name": "Koseven Team",
      "homepage": "https://koseven.ga/",
      "role": "developer"
    },
    {
      "name": "Kohana Team",
      "email": "team@kohanaframework.org",
      "homepage": "http://kohanaframework.org/team",
      "role": "developer"
    }
  ],
  "support": {
    "forum": "https://telegram.me/koseven",
    "issues": "https://github.com/koseven/koseven/issues"
  },
  "require": {
    "php": ">=7.0"
  },
  "require-dev": {
    "phpunit/phpunit": "^6.0|^7.0",
    "phpunit/dbunit":"^3.0",
    "phpunit/phpcov": "^4.0",
    "php-coveralls/php-coveralls": "^2.0"
  },
  "conflict": {
    "kohana/core": "3.3.*"
  },
  "replace": {
    "kohana/core": "3.3.*"
  }
}

版本控制说明

功能范例说明
指定版本1.1.1指定版本
区间and>=x >=x,<x版本范围,逗号是逻辑and
区间or>=x,<1.1竖线>=x版本范围,竖线是逻辑or
通配符1.0.*1.0.*恒等于>=1.0,<1.1
同大版本~1.2~1.2恒等于>=1.2,<2.0

原文链接:https://blog.yongit.com/note/156907.html