Exclude a package from updating in composer

前端 未结 6 1920
走了就别回头了
走了就别回头了 2021-02-07 10:22

Whenever I try to add a new package using composer like \"composer require packagename/package\" or use \"composer.phar update\", I am getting all the

6条回答
  •  你的背包
    2021-02-07 10:38

    Using composer require packagename/package, you require a new package and you get a partial update for just packagename/package and its dependencies.

    composer update packagename/package can be used to trigger the same partial update, but then in case you already have packagename/package in your composer.json.

提交回复
热议问题