Contributing to open source bundles from vendor directory?

前端 未结 4 1435
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 22:06

Ideal Situation

Often while working on a Symfony2 project I will spot something I want to change in one of my dependencies. If I could find a way to

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 23:08

    As of 2017 the proper way to do it is:

    1. Add your GitHub branch link to the repositories

      "repositories": [
          {
              "type": "vcs",
              "url": "https://github.com/crimson-med/yii2-link-preview"
          }
      ],
      
    2. Add the source to the require of your composer.json

      "require": {
          "yii2mod/yii2-link-preview": "dev-master"
      },
      

提交回复
热议问题