理解作曲家的要求

时间:2019-01-12 18:18:57

标签: magento composer-php

我们已经分叉了一个代码存储库并尝试安装我们的版本,但是原始版本安装得很好,但是我们的版本没有安装依赖项

我们想知道从何处加载需求数据。我可以在原始文件中看到没有名为tinify / tinify的文件夹,但它已加载并存储在供应商文件夹中,但在我们的情况下,它不会加载。

完全相同的代码

"require": {
    "php": ">=5.5.0",
    "ext-curl": "*",
    "ext-json": "*",
    "tinify/tinify": ">=1.5"
  },

================================================ ============

total composer.json

{
  "name": "tinify/magento2",
  "type": "magento2-module",
  "version": "1.1.1",
  "description": "Make your web shop faster by compressing your JPEG and PNG images. This plugin automatically optimizes your images by integrating with the popular image compression services TinyJPG and TinyPNG.",
  "keywords": [
    "tinify",
    "tinypng",
    "tinyjpg",
    "compress",
    "images",
    "api",
    "magento",
    "magento2",
    "plugin",
    "module"
  ],

  "homepage": "https://tinify.com/developers",
  "license": "MIT",

  "support": {
    "email": "support@tinify.com"
  },

  "authors": [{
    "name": "Rolf Timmermans",
    "email": "rolftimmermans@voormedia.com"
  }],

  "minimum-stability": "alpha",
  "require": {
    "php": ">=5.5.0",
    "ext-curl": "*",
    "ext-json": "*",
    "tinify/tinify": ">=1.5"
  },

  "require-dev": {
    "phpunit/phpunit": "~4.0",
    "mikey179/vfsstream": "~1",
    "squizlabs/php_codesniffer": "~2.0",
    "codeception/aspect-mock": "*"
  },

  "autoload": {
    "files": ["registration.php"],
    "psr-4": {"Tinify\\Magento\\": "src"}
  }
}

我想知道所需的路径。这是github链接还是什么。

0 个答案:

没有答案