"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在内的其他项目,以利用它。