我正在尝试使用以下命令从我项目中的私人git repo下载软件包:
composer config repositories.package_name vcs git@company.git.beanstalkapp.com:/company/package_name.git
composer require package_name:dev-master -vvv
我看到不是尝试从仓库git@company.git.beanstalkapp.com:/company/package_name.git
下载,而是尝试从https://packagist.org/search.json?q=shipping_fields_sort_order&type=
下载此软件包。如何下载此软件包?
这是我的项目的存储库部分:
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"magento2-account-approval": {
"type": "git",
"url": "git@github.com:amitshree/magento2-account-approval.git"
},
"package_name": {
"type": "vcs",
"url": "git@company.git.beanstalkapp.com:/company/package_name.git"
}
},