使用composer一键安装
composer create-project composer/satis
接着在项目根目录下创建package.json文件
{ "name": "satis packages", "homepage": "http://package.gbk.pw", "repositories": [ { "type": "git", "url": "https://git.gbk.pw/groupxx/test.git" } ], "require":{ "gbk/test":"dev-master" } }