Composer require local package

前端 未结 3 1945
甜味超标
甜味超标 2020-12-07 10:41

I\'ve got a couple of libraries [Foo and Bar] that I\'m developing in concert, but are still technically separate things. Previously I\'ve just re-defined the autoloader to

3条回答
  •  情话喂你
    2020-12-07 11:08

    You can use Composer's repositories feature

    https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository

    Instead of using the http format, specify a file path on disk.

提交回复
热议问题