我创建了一个包,下面是composer.json:
{
"name": "faustuzas/theme-downloader",
"description": "Easy to use bootstrap theme downloader",
"type": "command",
"require": {
"php": ">=5.6.0",
"guzzlehttp/guzzle": "^6.3"
},
"license": "MIT",
"authors": [
{
"name": "Faustas Butkus",
"email": "faustas.butkus@gmail.com"
}
],
"minimum-stability": "stable"
}但是当我试图通过composer:composer require faustuzas/theme-downloader来要求它的时候
我知道这个错误:

问题出在哪里?
发布于 2017-12-28 20:05:33
没有必要使用"minimum-stability": "stable",因为默认情况下它被设置为“稳定的”。您有一个分支,没有标签,所以包装师显示您的包作为开发主,这是不稳定的。尝试创建新的分支,例如1.x,添加标记,例如1.0.0,然后再添加composer require。
https://stackoverflow.com/questions/48013576
复制相似问题