S
S
Sergey Beloventsev2016-05-05 09:12:30
GitHub
Sergey Beloventsev, 2016-05-05 09:12:30

Why is the package package not being installed from packagist.org?

I'm trying to install this package
https://packagist.org/packages/tsum/yii2-multipars...
or github
https://github.com/tsurkanovm/yii-multiparser
with the following command in the line
php composer.phar require "tsurkanovm/ yii-multiparser"
gives the following response

Could not find package tsurkanovm/yii-multiparser at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability

why if composer.json has the same minimum-stability "dev" as the project?
Here is my composer.json
{
    "name": "yiisoft/yii2-app-advanced",
    "description": "Yii 2 Advanced Project Template",
    "keywords": ["yii2", "framework", "advanced", "project template"],
    "homepage": "http://www.yiiframework.com/",
    "type": "project",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yiisoft/yii2/issues?state=open",
        "forum": "http://www.yiiframework.com/forum/",
        "wiki": "http://www.yiiframework.com/wiki/",
        "irc": "irc://irc.freenode.net/yii",
        "source": "https://github.com/yiisoft/yii2"
    },
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": ">=2.0.6",
        "yiisoft/yii2-bootstrap": "*",
        "yiisoft/yii2-swiftmailer": "*",
        "developeruz/yii2-db-rbac": "^1.0",
        "dmstr/yii2-adminlte-asset": "2.*",
        "2amigos/yii2-tinymce-widget": "~1.1",
        "2amigos/yii2-transliterator-helper": "^0.1.0",
        "vova07/yii2-imperavi-widget": "^1.2",
        "yiisoft/yii2-imagine": "^2.0",
        "kartik-v/yii2-widget-select2": "@dev",
        "keltstr/yii2-simplehtmldom": "dev-master",
        "intervention/image": "^2.3"
    },
    "require-dev": {
        "yiisoft/yii2-codeception": "*",
        "yiisoft/yii2-debug": "*",
        "yiisoft/yii2-gii": "*",
        "yiisoft/yii2-faker": "*"
    },
    "config": {
        "process-timeout": 1800
    },
    "extra": {
        "asset-installer-paths": {
            "npm-asset-library": "vendor/npm",
            "bower-asset-library": "vendor/bower"
        }
    }
}

here is the project
{
  "minimum-stability" : "dev",
  "name": "tsum/yii2-multiparser",
  "type": "library",
  "description": "This Yii2 extension provides a module for parsing and writing files (csv, xml, xls, xlsx, txt) to DB with a flexible settings",
  "keywords": [ "yii2", "parser", "csv", "xml", "xlsx", "xls", "txt" ],
  "homepage": "https://github.com/tsurkanovm/yii-multiparser.git",
  "license": "MIT",
  "authors": [
    {
      "name": "Mihail Tsurkanov",
      "email": "[email protected]",
      "role": "Developer"
    }
  ],
  "require": {
    "yiisoft/yii2": "*"
  },
  "autoload": {
    "psr-4": {
      "yii\\multiparser\\": "lib\\",
      "yii\\multiparser\\module\\": "lib\\module\\",
      "yii\\multiparser\\widgets\\": "lib\\module\\widgets\\parser_view\\"
    }
  }
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question