我使用下面的命令来更新我的作曲器:
php composer.phar update
我在终端中得到以下错误:
[ComposerRepositoryRepositorySecurityException]
The contents of http://packagist.org/p/provider-archived%2491683312159b2222
f06683bc446f1347559e31839d8dbb6a3c2512e677e01798.json do not match its sign
ature. This should indicate a man-in-the-middle attack. Try running compose
r again and report this if you think it is a mistake.
这个问题我想不明白,有谁能帮我一下吗?提前感谢
我在我的composer中添加了以下行。Json,一切开始工作。
"repositories": {
"packagist": { "url": "https://packagist.org", "type": "composer" }
},
我不知道目的,但它是为我工作,我能够运行
php composer.phar update