在作曲家中找不到包装名称,请确保存在一个名称


"name": "foostart/sample",
"type": "library",
"description": "Create overview sample can intergrate other project",
"keywords": ["package","package"],
"homepage": "https://github.com/InfinitePW/Foostart",
"license": "MIT",
"authors": [
    {
        "name": "Foostart",
        "email": "nguyenanhhoanld@gmail.com",
        "role": "Developer"
    }
],
"minimum-stability": "stable",
 "require": {
    "php": ">=5.3.0"
},
"autoload": {
    "psr-4": {
        "Sample": "src"
    }
}

当我从github提交包装时,to packagist.org。我对" composer.json"有问题。我该如何修复?谢谢。https://github.com/infinitepw/foostart

我正在将其添加为答案,以便其他人可以从中受益:

composer.json需要在您的git项目的根源中,以便包括packagist.org在内的其他项目,以利用它。

相关内容

  • 没有找到相关文章

最新更新