如何将php功能做成依赖,php – 我将如何只更新一个作曲家依赖?

该博客讨论如何使用Composer避免全面更新,仅针对videlalvaro/PHP-amqplib版本到2.2.0。提到的问题涉及Symfony对ICU库的版本要求,以及如何指定精确依赖以防止意外升级。
摘要由CSDN通过智能技术生成

我期望

composer update videlalvaro/PHP-amqplib

只会更新一个依赖关系,而不是更新所有.

我失踪了什么

PS:这个依赖被定义为“videlalvaro / PHP-amqplib”:composer.json中的“2.2.0”

PPS:使用的作曲家版本是3da05c68f9561fa822c522b1815435ff990493ff 2013-10-02 14:25:06

PPPS:实际输出:

$composer.phar update videlalvaro/PHP-amqplib --no-dev

Loading composer repositories with package information

Updating dependencies

Your requirements could not be resolved to an installable set of packages.

Problem 1

- symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system,make sure to have the extension providing it.

- symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system,make sure to have the extension providing it.

- Installation request for symfony/icu == 1.2.0.0 -> satisfiable by symfony/icu[v1.2.0].

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值