composer create-project from private repo

前端 未结 5 1429
醉话见心
醉话见心 2020-12-24 13:56

I have a private project hosted on Bit Bucket. I have an SSH key setup. Is there a way I can use the php composer create-project vendor/name path command in the

5条回答
  •  被撕碎了的回忆
    2020-12-24 14:26

    We have Toran Proxy (https://toranproxy.com/) installed as a private packagist, and for that we are able to create projects using command below

    composer create-project vendor/framework --repository-url=http://your-toran-repo-url/repo/private/ --stability=dev project name
    

    Stability version we use if the project is not tagged or you looking for bleeding edge version.

    --stability=dev
    

提交回复
热议问题