Composer无法安装自己的packagist包,最小稳定性错误

时间:2016-02-16 08:29:04

标签: php laravel composer-php

我在github上有自己的包我创建了名称为“1.0.0”的标签。 这个标签中的composer.json没有“最小稳定性”属性(我试过“最小稳定性”:“dev”和“minimum-stability”:“stable”)但是出现了同样的错误。

我得到的错误是:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package am2studio/laravel-table-sorter 1.* could not be found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

我正在尝试使用

安装包
"comp-x/package-x": "1.*"
在作曲家中

出现此错误,其中包含:

"comp-x/package-x": "dev-master"

一切都很好,作曲家安装我的包。你知道这里有什么问题吗?

0 个答案:

没有答案
相关问题