Can't get composer “path” repository to work

前端 未结 5 1766
庸人自扰
庸人自扰 2020-12-29 19:02

I have a directory structure like so:

composer.json < Main
  packages/
    balunker/
      testpackage/
        composer.json < Package
        src/
           


        
5条回答
  •  囚心锁ツ
    2020-12-29 19:38

    For future Googlers, add your version to the composer.json and then require the package with the --prefer-source option.

    For example: composer require your-vendor/package:1.0.* --prefer-source

提交回复
热议问题