swoft icon indicating copy to clipboard operation
swoft copied to clipboard

amqp 组件无法 composer 安装

Open FirstStarter opened this issue 5 years ago • 2 comments

执行: composer require swoft/amqp

报错:

Could not find a matching version of package swoft/amqp. Check the package spelling, your version constraint and that the package is available in a stability
which matches your minimum-stability (stable).

https://packagist.org/ 官网检索 amqp 也查询不到,是不是因为官方没有同步到packagist 导致无法通过composer安装?

FirstStarter avatar Sep 23 '20 06:09 FirstStarter

这几天找时间发一下,你可以先这样配置:

{
	"repositories": {
		"swoft-amqp": {
			"type": "git",
      		"url": "https://github.com/swoft-cloud/swoft-amqp.git"
		}
	}
}

inhere avatar Sep 23 '20 08:09 inhere

这几天找时间发一下,你可以先这样配置:

{
	"repositories": {
		"swoft-amqp": {
			"type": "git",
      		"url": "https://github.com/swoft-cloud/swoft-amqp.git"
		}
	}
}

谢谢

FirstStarter avatar Sep 23 '20 12:09 FirstStarter